Commit 645b7a0a authored by Phil Hughes's avatar Phil Hughes

Full labels data in JSON

parent 0858cb09
...@@ -16,7 +16,7 @@ class Projects::LabelsController < Projects::ApplicationController ...@@ -16,7 +16,7 @@ class Projects::LabelsController < Projects::ApplicationController
respond_to do |format| respond_to do |format|
format.html format.html
format.json do format.json do
render json: @labels.to_json render json: @project.labels
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment