diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-22 15:57:24 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-22 15:57:24 -0700 |
commit | 9ca4839a1aa369d934f08c9307196db3e19e9592 (patch) | |
tree | 0b1f21eac205e9584bd2f9fece7aaf84f7e98688 /actionpack/lib/action_dispatch/routing | |
parent | 1b76c7e9f6ac3fa9bcde33a80a945b6045f8c1ec (diff) | |
download | rails-9ca4839a1aa369d934f08c9307196db3e19e9592.tar.gz rails-9ca4839a1aa369d934f08c9307196db3e19e9592.tar.bz2 rails-9ca4839a1aa369d934f08c9307196db3e19e9592.zip |
stop using PARAMETERS_KEY, and use the accessor on the request object
this decouples our code from the env hash a bit.
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index e82957d824..8b4fd26ce2 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -303,7 +303,6 @@ module ActionDispatch @set = Journey::Routes.new @router = Journey::Router.new(@set, { - :parameters_key => PARAMETERS_KEY, :request_class => request_class}) @formatter = Journey::Formatter.new @set end |