Permalink
Browse files

This was used only to clear warning in ActionMailer tests, it shouldn…

…'t be done like that
  • Loading branch information...
1 parent e5af8b7 commit 00874a2009ce209d0c3a3cc2bf6c26b1bb15f3e5 @drogus drogus committed Aug 22, 2010
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionpack/lib/action_dispatch/routing/route_set.rb
@@ -340,11 +340,6 @@ class << self
singleton_class.send(:define_method, :_routes) { routes }
end
- def initialize(*)
- @_routes = nil
- super
- end
-
define_method(:_routes) { @_routes || routes }
end

0 comments on commit 00874a2

Please sign in to comment.