aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb
Commit message (Collapse)AuthorAgeFilesLines
* Display exceptions in text format for xhr requestKir Shatrov2013-08-221-30/+0
|
* Escape the message of an exception in debug_exceptions to avoid bad renderingAdrien Siami2013-08-211-1/+1
|
* change useless gsub to trrobertomiranda2013-03-051-1/+1
|
* Move table routes formatter class to the inspector and rename itCarlos Antonio da Silva2013-01-061-1/+1
| | | | | | | It feels more consistent to have this class called "HtmlTableFormatter", and to have it here with the routes inspector and console formatter, since it's used for both routing error exceptions and the rails info page.
* Close container div tag in routing error pageCarlos Antonio da Silva2013-01-051-9/+11
|
* display mountable engine routes on RoutingError.Yves Senn2013-01-051-2/+2
|
* Remove unnecessary `ERB::Util::h`Ryunosuke SATO2013-01-051-2/+2
| | | | It is automatically applied when strings is unsafe for html.
* Add new style to Routing Error pageGuillermo Iguaran2012-12-311-19/+22
|
* Format routes as html on debug pageschneems2012-12-171-1/+3
| | | | | | | | | When someone gets a routing exception, the routes are rendered (starting in Rails 4.0). This PR brings parity between the html routes in the `rails/info/routes` path and when rendered from an exception. This is the continuation of #8521 which brought html formatted routes. In addition to bringing parity to the two views, we're keeping our views DRY by rendering off of the same partials. In this case Railties depends on partials provided by ActionDispatch. I'm open to alternative implementations. Ideally both views will use the same code so any improvements or updates to it will be reproduced on both. <hr /> ![](http://f.cl.ly/items/3O1D0K1v0j0i343O3T3T/Screen%20Shot%202012-12-17%20at%203.07.20%20PM.png)
* 1.9 hash syntax changes to docsAvnerCohen2012-10-311-1/+1
|
* show routes while debugging RoutingErrorschneems2012-07-071-2/+8
| | | | If someone receives a routing error, they likely need to view the routes. Rather than making them visit '/rails/info/routes' or run `rake routes` we can give them that information on the page.
* Add backtrace to development routing error pageschneems2012-05-021-1/+3
| | | | | | If a user gets a routing error due to a view helper such as using user_path without an :id they must go to their logs to see the backtrace. By adding in the trace template, a user can see which line the error occurred on without leaving the browser. When a routing error occurs outside of the view the application trace will be blank and will not confuse developers.
* add help text to routing errorschneems2011-12-171-8/+13
| | | | | | When a newcomer hits the routing error page they are often confused about how to trouble shoot the next step. Adding a simple help text can gently remind coders where to get more help.
* Extract ActionController rescue templates into Rescue and ShowExceptions ↵Joshua Peek2009-05-021-0/+10
middleware. This commit breaks all exception catching plugins like ExceptionNotifier. These plugins should be rewritten as middleware instead overriding Controller#rescue_action_in_public.