Commit d5fcf0f6 authored by randx's avatar randx
Browse files

Show labels specific to project

parent 328f44d9f483
......@@ -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
......
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