Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use camelize instead of capitalize on error screen

  • Loading branch information...
commit 908ee27b8e3ba2504ac6bc8d897f32a6864b0cff 1 parent e79d2c8
@killthekitten killthekitten authored
View
2  actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.