aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/integration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller/integration.rb')
-rw-r--r--actionpack/lib/action_controller/integration.rb3
1 files changed, 0 insertions, 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<<self; self; end
Routing::Routes.install_helpers(klass)