Skip to content

Commit 8ed59eb

Browse files
committed
change error message
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
1 parent eb6625b commit 8ed59eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/notes_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def set_note
6161
return
6262
end
6363
unless @note.author_id == current_user.id
64-
redirect_back fallback_location: topic_path(@note.topic), alert: "You can only edit your own notes"
64+
redirect_back fallback_location: topic_path(@note.topic), alert: "You can edit or delete your own notes"
6565
return
6666
end
6767
end

0 commit comments

Comments
 (0)