lib/generators/faalis/templates/views/show.json.jbuilder.erb in faalis-1.0.0.alpha0 vs lib/generators/faalis/templates/views/show.json.jbuilder.erb in faalis-1.0.0.alpha1

- old
+ new

@@ -2 +1,2 @@ -json.extract! @<%= resource.underscore %>, :id<%= fields_as_params %><% fields.each do |name, type| %> +json.id @<%= resource.underscore %>.id.to_s +json.extract! @<%= resource.underscore %><%= fields_as_params %><% fields.each do |name, type| %> <% case type