Skip to content

Commit

Permalink
Fix spacing regression in scaffold generator
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed Dec 23, 2012
1 parent e738acd commit a4d21f7
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -77,7 +77,9 @@ def update
<%- end -%> <%- end -%>
format.json { head :no_content } format.json { head :no_content }
else 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 } format.json { render json: <%= "@#{orm_instance.errors}" %>, status: :unprocessable_entity }
end end
end end
Expand Down

0 comments on commit a4d21f7

Please sign in to comment.