summaryrefslogtreecommitdiff
path: root/app/controllers/projects/labels_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-29 22:19:47 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-29 22:19:47 +0300
commitb2a6f4e13632c6f00620cdd7116d7b29d257c738 (patch)
tree08c99cbbe20182cb1bf019550ff56b2899f0f122 /app/controllers/projects/labels_controller.rb
parentd79c0ea271f20b148ab433c0d510f90f1b807b74 (diff)
downloadgitlab-ce-b2a6f4e13632c6f00620cdd7116d7b29d257c738.tar.gz
Refactor label rendering and default label set generation
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/projects/labels_controller.rb')
-rw-r--r--app/controllers/projects/labels_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/labels_controller.rb b/app/controllers/projects/labels_controller.rb
index 30fcb64cbb2..d2c5e90b257 100644
--- a/app/controllers/projects/labels_controller.rb
+++ b/app/controllers/projects/labels_controller.rb
@@ -6,7 +6,7 @@ class Projects::LabelsController < Projects::ApplicationController
respond_to :js, :html
def index
- @labels = @project.issues_labels
+ @labels = @project.labels
end
def generate