Show labels specific to project
This commit is contained in:
parent
8d65f51e63
commit
d5fcf0f672
|
@ -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…
Reference in a new issue