diff options
author | José Valim <jose.valim@gmail.com> | 2010-09-28 00:39:10 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-28 00:39:29 +0200 |
commit | 8aa86babad2eddb5244ba79b4e3b5702e7e77217 (patch) | |
tree | a0b94b22bf1bfc99be691305451e40dab1855e36 /actionpack/lib/action_dispatch | |
parent | dc5336e7f4f7128fc102ab17b63bed46d1b0db3e (diff) | |
download | rails-8aa86babad2eddb5244ba79b4e3b5702e7e77217.tar.gz rails-8aa86babad2eddb5244ba79b4e3b5702e7e77217.tar.bz2 rails-8aa86babad2eddb5244ba79b4e3b5702e7e77217.zip |
Fix tests on 1.9.2.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index e25b30ffa6..9271191f6d 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -318,11 +318,6 @@ module ActionDispatch singleton_class.send(:define_method, :_routes) { routes } end - def initialize(*) - @_routes = nil - super - end - define_method(:_routes) { @_routes || routes } end |