Commit d5fcf0f6 authored by randx's avatar randx

Show labels specific to project

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