Skip to content
This repository
Browse code

Remove more warnings on variables.

  • Loading branch information...
commit da8f9ca4329499fc9cc9c3f999a9d6eecdc801d3 1 parent dc37bd7
Emilio Tagua authored September 28, 2010
1  actionpack/lib/action_dispatch/routing/url_for.rb
@@ -136,6 +136,7 @@ def url_for(options = nil)
136 136
 
137 137
       protected
138 138
         def _with_routes(routes)
  139
+          @_routes ||= nil
139 140
           old_routes, @_routes = @_routes, routes
140 141
           yield
141 142
         ensure

0 notes on commit da8f9ca

Please sign in to comment.
Something went wrong with that request. Please try again.