diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-11-10 19:12:54 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-11-12 23:33:30 -0600 |
commit | a28d0ea33e04cd7bf785c26a95e74f78dff82ce0 (patch) | |
tree | c2a08d3e1eb207535a9ef985293973ccc1d9b58b /actionpack/lib/action_dispatch/routing/route_set.rb | |
parent | 2da432dde33404b3149210725f4828e957b345bf (diff) | |
download | rails-a28d0ea33e04cd7bf785c26a95e74f78dff82ce0.tar.gz rails-a28d0ea33e04cd7bf785c26a95e74f78dff82ce0.tar.bz2 rails-a28d0ea33e04cd7bf785c26a95e74f78dff82ce0.zip |
Remove rackmount const usage
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 28e5b806da..c28df76f3f 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -5,7 +5,7 @@ module ActionDispatch module Routing class RouteSet #:nodoc: NotFound = lambda { |env| - raise ActionController::RoutingError, "No route matches #{env[::Rack::Mount::Const::PATH_INFO].inspect} with #{env.inspect}" + raise ActionController::RoutingError, "No route matches #{env['PATH_INFO'].inspect} with #{env.inspect}" } PARAMETERS_KEY = 'action_dispatch.request.path_parameters' |