diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-16 21:37:25 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-16 21:37:25 +0300 |
commit | 581cccbc64a556c8096982f2479a83746a799bc1 (patch) | |
tree | 2a6ed5166f056e876f171b823e2b50b5837e8139 | |
parent | e5ead2571ea356cc0c2a42ae4ebc519d8560cb8d (diff) |
Full labels data in JSONlabels-dropdown-endpoint
-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 |