Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-16 21:37:25 +0300
committerPhil Hughes <me@iamphill.com>2016-03-18 18:18:06 +0300
commit645b7a0a3389dca3a709f65a52ae765f213078f2 (patch)
treef9fe603ec8fec3cfad82d4512d0ac4f9261bca47 /app/controllers/projects/labels_controller.rb
parent0858cb097afcaa529e5e0fe7154af53f66ce62fe (diff)
Full labels data in JSON
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 c61793f89af..5f471d405f5 100644
--- a/app/controllers/projects/labels_controller.rb
+++ b/app/controllers/projects/labels_controller.rb
@@ -16,7 +16,7 @@ class Projects::LabelsController < Projects::ApplicationController
respond_to do |format|
format.html
format.json do
- render json: @labels.to_json
+ render json: @project.labels
end
end
end