Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove more warnings on variables.

  • Loading branch information...
commit da8f9ca4329499fc9cc9c3f999a9d6eecdc801d3 1 parent dc37bd7
@miloops miloops authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.