Commit 22c00e64626791bf138a7691205d3e6e89cd315c
1 parent
1216a62e
Exists in
master
and in
4 other branches
Removed before_filter as authentication is done within update method
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
app/controllers/notes_controller.rb
@@ -2,7 +2,6 @@ class NotesController < ProjectResourceController | @@ -2,7 +2,6 @@ class NotesController < ProjectResourceController | ||
2 | # Authorize | 2 | # Authorize |
3 | before_filter :authorize_read_note! | 3 | before_filter :authorize_read_note! |
4 | before_filter :authorize_write_note!, only: [:create] | 4 | before_filter :authorize_write_note!, only: [:create] |
5 | - before_filter :authorize_modify_note!, only: [:update] | ||
6 | 5 | ||
7 | respond_to :js | 6 | respond_to :js |
8 | 7 |