diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-06 17:00:59 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-06 17:00:59 +0200 |
commit | 0e5adbceb7d49f3448eec32a7068807f571bf76c (patch) | |
tree | 25dc55ba5baa1f29bc4c5b2e1a4299fd062a2fdf /actionpack/lib/action_dispatch/middleware/templates | |
parent | d42bb6843073b876e6a79e396a947c267fcbbf75 (diff) | |
download | rails-0e5adbceb7d49f3448eec32a7068807f571bf76c.tar.gz rails-0e5adbceb7d49f3448eec32a7068807f571bf76c.tar.bz2 rails-0e5adbceb7d49f3448eec32a7068807f571bf76c.zip |
Don't pluralize, camelize.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/templates')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb index 2099fd069a..4b9d3141d5 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb @@ -1,7 +1,7 @@ <h1> <%=h @exception.class.to_s %> <% if @request.parameters['controller'] %> - in <%=h @request.parameters['controller'].classify.pluralize %>Controller<% if @request.parameters['action'] %>#<%=h @request.parameters['action'] %><% end %> + in <%=h @request.parameters['controller'].camelize %>Controller<% if @request.parameters['action'] %>#<%=h @request.parameters['action'] %><% end %> <% end %> </h1> <pre><%=h @exception.message %></pre> |