aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2014-07-19 10:32:48 -0400
committerJean Boussier <jean.boussier@gmail.com>2014-10-27 16:53:10 -0400
commit8e1362be3fa8afa352a7acc4a1561205bcdada1e (patch)
tree3cff26579e7fdfcff8d1ddea9dc65b9d2bb0e13b /actionpack
parent89397d09ebb7ca4089f17820d05d5eb223913652 (diff)
downloadrails-8e1362be3fa8afa352a7acc4a1561205bcdada1e.tar.gz
rails-8e1362be3fa8afa352a7acc4a1561205bcdada1e.tar.bz2
rails-8e1362be3fa8afa352a7acc4a1561205bcdada1e.zip
UrlGenerationError are not catched as 404 anymore
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/exceptions.rb b/actionpack/lib/action_controller/metal/exceptions.rb
index 3844dbf2a6..18e003741d 100644
--- a/actionpack/lib/action_controller/metal/exceptions.rb
+++ b/actionpack/lib/action_controller/metal/exceptions.rb
@@ -25,7 +25,7 @@ module ActionController
end
end
- class ActionController::UrlGenerationError < RoutingError #:nodoc:
+ class ActionController::UrlGenerationError < ActionControllerError #:nodoc:
end
class MethodNotAllowed < ActionControllerError #:nodoc: