diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-16 18:37:25 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-18 15:18:06 +0000 |
commit | 645b7a0a3389dca3a709f65a52ae765f213078f2 (patch) | |
tree | f9fe603ec8fec3cfad82d4512d0ac4f9261bca47 | |
parent | 0858cb097afcaa529e5e0fe7154af53f66ce62fe (diff) | |
download | gitlab-ce-645b7a0a3389dca3a709f65a52ae765f213078f2.tar.gz |
Full labels data in JSON
-rw-r--r-- | app/controllers/projects/labels_controller.rb | 2 |
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 |