diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index dbec660..6acdd2a 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -2,6 +2,7 @@ class NotesController < ProjectResourceController # Authorize before_filter :authorize_read_note! before_filter :authorize_write_note!, only: [:create] + before_filter :authorize_modify_note!, only: [:update] respond_to :js -- libgit2 0.21.2