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

Use `includes(:priorities)` on Projects::LabelsController

parent 771d3fc3
No related branches found
No related tags found
1 merge request!6425Add group level labels
......@@ -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
@available_labels ||= LabelsFinder.new(current_user, project_id: @project.id).execute.includes(:priorities)
end
def authorize_admin_labels!
......
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