Commit 2525e55e authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

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

parent 4bef6aad31a4
......@@ -126,7 +126,7 @@ def label
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!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment