aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-08-22 18:06:03 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-03 22:59:13 +0200
commit00874a2009ce209d0c3a3cc2bf6c26b1bb15f3e5 (patch)
tree8d24d14ba1a311a68eb17cbff66954b79a74eeb7 /actionpack/lib/action_dispatch/routing
parente5af8b7d85abb94f21f4e873c1c267e27be2aad8 (diff)
downloadrails-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.rb5
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