project.issues_labels method
This commit is contained in:
parent
fa325ce977
commit
63fe042d97
3 changed files with 7 additions and 2 deletions
|
@ -7,7 +7,7 @@ class LabelsController < ProjectResourceController
|
|||
respond_to :js, :html
|
||||
|
||||
def index
|
||||
@labels = @project.issues.tag_counts_on(:labels).order('count DESC')
|
||||
@labels = @project.issues_labels.order('count DESC')
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue