lib/generators/documentation/scaffold/templates/resource.md.tt in documentation-zero-0.0.7 vs lib/generators/documentation/scaffold/templates/resource.md.tt in documentation-zero-0.0.8
- old
+ new
@@ -76,11 +76,9 @@
<% attributes.each do |attribute| -%>
<% if attribute.password_digest? -%>
"password_digest": "string",
<% elsif attribute.token? -%>
"<%= attribute.name %>": "string",
-<% elsif attribute.reference? -%>
- "<%= attribute.name %>": "<%= attribute.name.pluralize %>.md#<%= attribute.name.dasherize %>-model",
<% elsif !attribute.virtual? -%>
"<%= attribute.name %>": "<%= attribute.type %>",
<% end -%>
<% end -%>
}