aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-01-06 17:04:34 +0100
committerJosé Valim <jose.valim@gmail.com>2012-01-06 17:10:39 +0100
commit0db93941a4b24338c04dac7b17ebddae6c0f95d4 (patch)
treef3ccf1f8ef66718ed4c2f9d0dc3071f51b5a1645 /actionpack/lib/action_dispatch
parent3853b73bf8535efcf55f573f4b269e1082c3d5cd (diff)
downloadrails-0db93941a4b24338c04dac7b17ebddae6c0f95d4.tar.gz
rails-0db93941a4b24338c04dac7b17ebddae6c0f95d4.tar.bz2
rails-0db93941a4b24338c04dac7b17ebddae6c0f95d4.zip
We should finalize the routes as soon as possible and not wait for the controller to be loaded.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index 9d0a3e9993..2c21887220 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -533,7 +533,6 @@ module ActionDispatch
end
def url_for(options)
- finalize!
options = (options || {}).reverse_merge!(default_url_options)
handle_positional_args(options)
@@ -559,7 +558,6 @@ module ActionDispatch
end
def call(env)
- finalize!
@router.call(env)
end