diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-08-22 18:06:03 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-03 22:59:13 +0200 |
commit | 00874a2009ce209d0c3a3cc2bf6c26b1bb15f3e5 (patch) | |
tree | 8d24d14ba1a311a68eb17cbff66954b79a74eeb7 /actionpack/lib/action_dispatch/routing | |
parent | e5af8b7d85abb94f21f4e873c1c267e27be2aad8 (diff) | |
download | rails-00874a2009ce209d0c3a3cc2bf6c26b1bb15f3e5.tar.gz rails-00874a2009ce209d0c3a3cc2bf6c26b1bb15f3e5.tar.bz2 rails-00874a2009ce209d0c3a3cc2bf6c26b1bb15f3e5.zip |
This was used only to clear warning in ActionMailer tests, it shouldn't be done like that
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-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 363bcbd2b0..c09c1fef6f 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -340,11 +340,6 @@ module ActionDispatch singleton_class.send(:define_method, :_routes) { routes } end - def initialize(*) - @_routes = nil - super - end - define_method(:_routes) { @_routes || routes } end |