From c07eae4d40b3450215e3aefb876dd5d983fc24bf Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Sat, 17 Nov 2007 03:57:42 +0000 Subject: Remove unneeded code to disable optimisations. the defined?(request) stuff takes care of this now. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/integration.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb index 6ab50f3768..ce4529699b 100644 --- a/actionpack/lib/action_controller/integration.rb +++ b/actionpack/lib/action_controller/integration.rb @@ -78,9 +78,6 @@ module ActionController unless defined? @named_routes_configured # install the named routes in this session instance. - # But we have to disable the optimisation code so that we can - # generate routes without @request being initialized - Base.optimise_named_routes=false Routing::Routes.reload! klass = class<