summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/labels_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/labels_controller.rb b/app/controllers/labels_controller.rb
index 3cbbb8692e0..999351e22df 100644
--- a/app/controllers/labels_controller.rb
+++ b/app/controllers/labels_controller.rb
@@ -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