summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-10-09 20:39:06 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-10-09 20:39:06 +0300
commit63fe042d97a5430770ec50fc0e8f29c416bd2ec9 (patch)
tree3a38a6ce5c6aa94ae6daf917f341dfa4ccd36b3a /app/controllers
parentfa325ce97796a1ae25d64a4ec63bdad6599e98d7 (diff)
downloadgitlab-ce-63fe042d97a5430770ec50fc0e8f29c416bd2ec9.tar.gz
project.issues_labels method
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