diff options
author | Nikolay Shebanov <nikolay.shebanov@gmail.com> | 2013-04-10 02:13:24 +0400 |
---|---|---|
committer | Nikolay Shebanov <nikolay.shebanov@gmail.com> | 2013-04-10 02:26:02 +0400 |
commit | 908ee27b8e3ba2504ac6bc8d897f32a6864b0cff (patch) | |
tree | 19c63ed42f3b45bd047115e2bb1ab43d2de00534 /actionpack/lib/action_dispatch/middleware | |
parent | e79d2c8aa61d480c9abbfba376fd03523ba23046 (diff) | |
download | rails-908ee27b8e3ba2504ac6bc8d897f32a6864b0cff.tar.gz rails-908ee27b8e3ba2504ac6bc8d897f32a6864b0cff.tar.bz2 rails-908ee27b8e3ba2504ac6bc8d897f32a6864b0cff.zip |
Use camelize instead of capitalize on error screen
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb index 63216ef7c5..31f46ee340 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.erb +++ b/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> |