aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2007-11-17 03:57:42 +0000
committerMichael Koziarski <michael@koziarski.com>2007-11-17 03:57:42 +0000
commitc07eae4d40b3450215e3aefb876dd5d983fc24bf (patch)
treef76aff8786b2984f8de8d3b413a74131be9480d8
parentd7ff645e310205f10579549de4b2ebc5db299ecf (diff)
downloadrails-c07eae4d40b3450215e3aefb876dd5d983fc24bf.tar.gz
rails-c07eae4d40b3450215e3aefb876dd5d983fc24bf.tar.bz2
rails-c07eae4d40b3450215e3aefb876dd5d983fc24bf.zip
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
-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)