diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-10-09 20:39:06 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-10-09 20:39:06 +0300 |
commit | 63fe042d97a5430770ec50fc0e8f29c416bd2ec9 (patch) | |
tree | 3a38a6ce5c6aa94ae6daf917f341dfa4ccd36b3a /app/controllers | |
parent | fa325ce97796a1ae25d64a4ec63bdad6599e98d7 (diff) | |
download | gitlab-ce-63fe042d97a5430770ec50fc0e8f29c416bd2ec9.tar.gz |
project.issues_labels method
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/labels_controller.rb | 2 |
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 |