Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit c07eae4d40b3450215e3aefb876dd5d983fc24bf 1 parent d7ff645
@NZKoz NZKoz authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  actionpack/lib/action_controller/integration.rb
View
3  actionpack/lib/action_controller/integration.rb
@@ -78,9 +78,6 @@ def reset!
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)
Please sign in to comment.
Something went wrong with that request. Please try again.