lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb in actionpack-6.0.0.rc1 vs lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb in actionpack-6.0.0.rc2

- old
+ new

@@ -1,8 +1,8 @@ <header> <h1> <%= @exception.class.to_s %> - <% if @request.parameters['controller'] %> + <% if params_valid? && @request.parameters['controller'] %> in <%= @request.parameters['controller'].camelize %>Controller<% if @request.parameters['action'] %>#<%= @request.parameters['action'] %><% end %> <% end %> </h1> </header>