Permalink
Browse files

Merge pull request #10154 from killthekitten/fix_template_error_header

Use camelize instead of capitalize on template error screen
  • Loading branch information...
2 parents f4e4ba8 + 908ee27 commit 74be6bba9e2c4c85bd80509857129d3177d41bee @carlosantoniodasilva carlosantoniodasilva committed Apr 9, 2013
@@ -2,7 +2,7 @@
<header>
<h1>
<%= @exception.original_exception.class.to_s %> in
- <%= @request.parameters["controller"].capitalize if @request.parameters["controller"]%>#<%= @request.parameters["action"] %>
+ <%= @request.parameters["controller"].camelize if @request.parameters["controller"] %>#<%= @request.parameters["action"] %>
</h1>
</header>

0 comments on commit 74be6bb

Please sign in to comment.