Full labels data in JSON
This commit is contained in:
parent
0858cb097a
commit
645b7a0a33
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue