This project is archived and is in readonly mode.
Make sure Rails will always raise `ActionController::RoutingError` when show_exceptions is set to false
-
Prem Sichanugrist (sikachu)
- Assigned user changed from José Valim to Aaron Patterson
I've updated the patch and rebase 002+003 together, per Aaron request
-
Aaron Patterson
Prem, can you also backport these to 3.0 for me? Sorry, I'm feeling lazy. ;-)
-
Prem Sichanugrist (sikachu)
Here's your patch for 3-0-stable, Aaron ;)
-
Repository
- State changed from committed to resolved
(from [2a67e69f1ff8960c4b4190c3189e2ab7250b4faf]) Always use ActionDispatch::ShowExceptions middleware [#6462 Make sure Rails will always raise `ActionController::RoutingError` when show_... state:resolved]
This will make sure the application will raise
ActionController::RoutingErrorin case "X-Cascade: pass" header was set, usually when there's no route match.(This is a backported version to 3-0-stable) https://github.com/rails/rails/commit/2a67e69f1ff8960c4b4190c3189e2...
-
Repository
(from [515ea955b6a80ab9f527ad0f6dcc25a17688a02c]) Always use ActionDispatch::ShowExceptions middleware [#6462 Make sure Rails will always raise `ActionController::RoutingError` when show_... state:resolved]
This will make sure the application will raise
ActionController::RoutingErrorin case "X-Cascade: pass" header was set, usually when there's no route match.
https://github.com/rails/rails/commit/515ea955b6a80ab9f527ad0f6dcc2...
