We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d087b7d commit 5c50f83Copy full SHA for 5c50f83
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