We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb6625b commit 8ed59ebCopy full SHA for 8ed59eb
app/controllers/notes_controller.rb
@@ -61,7 +61,7 @@ def set_note
61
return
62
end
63
unless @note.author_id == current_user.id
64
- redirect_back fallback_location: topic_path(@note.topic), alert: "You can only edit your own notes"
+ redirect_back fallback_location: topic_path(@note.topic), alert: "You can edit or delete your own notes"
65
66
67
0 commit comments