diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-26 11:51:34 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-31 23:27:49 -0200 |
commit | 2525e55ec9bdd4b3a9e3284c71fde978cab6483a (patch) | |
tree | 0e1a42d01cb2c792bada19a98f66861a1fb51f15 /app | |
parent | b328c7885532ccff70e1f9f7dc970a8dde0c52d6 (diff) | |
download | gitlab-ce-2525e55ec9bdd4b3a9e3284c71fde978cab6483a.tar.gz |
Remove unnecessary includes(:priorities) on Projects::LabelsController
Diffstat (limited to 'app')
-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 4f855134368..42fd09e9b7e 100644 --- a/app/controllers/projects/labels_controller.rb +++ b/app/controllers/projects/labels_controller.rb @@ -126,7 +126,7 @@ class Projects::LabelsController < Projects::ApplicationController alias_method :subscribable_resource, :label def find_labels - @available_labels ||= LabelsFinder.new(current_user, project_id: @project.id).execute.includes(:priorities) + @available_labels ||= LabelsFinder.new(current_user, project_id: @project.id).execute end def authorize_admin_labels! |