diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-09-19 17:21:39 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 14:58:24 -0200 |
commit | 398ab263fd08a5d9d7b19c5b3d06f33814a474eb (patch) | |
tree | 5a7249f72bdec65e87abb597f22a68afa9fb9f74 /app/controllers/projects/labels_controller.rb | |
parent | d5a595b59702489c0b1026a0951157b8cfd3d65c (diff) | |
download | gitlab-ce-398ab263fd08a5d9d7b19c5b3d06f33814a474eb.tar.gz |
Allow users to apply group labels on Issues/MRs
Diffstat (limited to 'app/controllers/projects/labels_controller.rb')
-rw-r--r-- | app/controllers/projects/labels_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/labels_controller.rb b/app/controllers/projects/labels_controller.rb index a6626df4826..35224f965bf 100644 --- a/app/controllers/projects/labels_controller.rb +++ b/app/controllers/projects/labels_controller.rb @@ -17,7 +17,7 @@ class Projects::LabelsController < Projects::ApplicationController respond_to do |format| format.html format.json do - render json: @project.labels + render json: LabelsFinder.new(current_user, project_id: @project.id).execute end end end |