mirror of
https://github.com/github/rails.git
synced 2026-01-30 08:48:06 -05:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user