Browse files

Remove more warnings on variables.

  • Loading branch information...
1 parent dc37bd7 commit da8f9ca4329499fc9cc9c3f999a9d6eecdc801d3 @miloops miloops committed Sep 28, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_dispatch/routing/url_for.rb
View
1 actionpack/lib/action_dispatch/routing/url_for.rb
@@ -136,6 +136,7 @@ def url_for(options = nil)
protected
def _with_routes(routes)
+ @_routes ||= nil
old_routes, @_routes = @_routes, routes
yield
ensure

0 comments on commit da8f9ca

Please sign in to comment.