Skip to content
Snippets Groups Projects
Commit 2525e55e authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Remove unnecessary includes(:priorities) on Projects::LabelsController

parent b328c788
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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!
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment