diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-08-12 16:24:09 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-08-12 16:24:09 -0500 |
commit | e25720045988e59f7ddfecebbc02e640dc2f8360 (patch) | |
tree | 1555fa2bd5b07d3495032c1fdd0ecce6cb222254 /app/controllers/projects/notes_controller.rb | |
parent | f48642e260e7cc733b619e34e47d6e67b484fee0 (diff) | |
download | gitlab-ce-e25720045988e59f7ddfecebbc02e640dc2f8360.tar.gz |
Add specs for NotesController and DiscussionsController
Diffstat (limited to 'app/controllers/projects/notes_controller.rb')
-rw-r--r-- | app/controllers/projects/notes_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/notes_controller.rb b/app/controllers/projects/notes_controller.rb index 1849311d26d..934a7961a63 100644 --- a/app/controllers/projects/notes_controller.rb +++ b/app/controllers/projects/notes_controller.rb @@ -5,7 +5,7 @@ class Projects::NotesController < Projects::ApplicationController before_action :authorize_read_note! before_action :authorize_create_note!, only: [:create] before_action :authorize_admin_note!, only: [:update, :destroy] - before_action :authorize_resolve_note!, only: [:resolve] + before_action :authorize_resolve_note!, only: [:resolve, :unresolve] before_action :find_current_user_notes, only: [:index] def index |