Skip to content
Snippets Groups Projects
Commit d5fcf0f6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Show labels specific to project

parent 8d65f51e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -14,7 +14,7 @@ class LabelsController < ApplicationController
respond_to :js, :html
 
def index
@labels = Issue.tag_counts_on(:labels)
@labels = @project.issues.tag_counts_on(:labels).order('count DESC')
end
 
protected
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