Permalink
Browse files

Fix spacing regression in scaffold generator

  • Loading branch information...
1 parent e738acd commit a4d21f764c2e6ebea5f506aa0fe8db71e2969c54 @wycats wycats committed Dec 23, 2012
@@ -77,7 +77,9 @@ def update
<%- end -%>
format.json { head :no_content }
else
- <%- if options[:html] -%>format.html { render action: "edit" }<%- end -%>
+ <%- if options[:html] -%>
+ format.html { render action: "edit" }
+ <%- end -%>
format.json { render json: <%= "@#{orm_instance.errors}" %>, status: :unprocessable_entity }
end
end

0 comments on commit a4d21f7

Please sign in to comment.