lib/generators/documentation/scaffold/templates/resource.md.tt in documentation-zero-0.0.1 vs lib/generators/documentation/scaffold/templates/resource.md.tt in documentation-zero-0.0.2
- old
+ new
@@ -66,12 +66,12 @@
This endpoint will return `204 No Content` if successful. No parameters are required.
---
## Model
-```javascript
+```json
{
<% attributes.each do |attribute| -%>
- <%= attribute.column_name %>: "<%= attribute.type %>",
+ "<%= attribute.column_name %>": "<%= attribute.type %>",
<% end -%>
}
```