Full labels data in JSON

This commit is contained in:
Phil Hughes 2016-03-16 18:37:25 +00:00
parent 0858cb097a
commit 645b7a0a33
1 changed files with 1 additions and 1 deletions

View File

@ -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