projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a custom cop to check controller action names
[rails.git]
/
app
/
views
/
api
/
changesets
/
index.json.jbuilder
diff --git
a/app/views/api/changesets/index.json.jbuilder
b/app/views/api/changesets/index.json.jbuilder
index f52d69865d9d2f63f3205641f9d5c028e52b1e5c..ce094fa3457ef5fb21093f6eba365c4fda5fb5cb 100644
(file)
--- a/
app/views/api/changesets/index.json.jbuilder
+++ b/
app/views/api/changesets/index.json.jbuilder
@@
-1,5
+1,5
@@
json.partial! "api/root_attributes"
-json.changesets
(@changesets) do |changeset|
- json.
partial!
changeset
+json.changesets
do
+ json.
array! @changesets, :partial => "changeset", :as => :
changeset
end