diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-28 16:27:05 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-28 16:27:05 -0300 |
commit | da8f9ca4329499fc9cc9c3f999a9d6eecdc801d3 (patch) | |
tree | fe104ec40cfd5a922b6c74b0c9b820cca59bab3e | |
parent | dc37bd778a46df8a584e27b3a1add519bbbe8ebb (diff) | |
download | rails-da8f9ca4329499fc9cc9c3f999a9d6eecdc801d3.tar.gz rails-da8f9ca4329499fc9cc9c3f999a9d6eecdc801d3.tar.bz2 rails-da8f9ca4329499fc9cc9c3f999a9d6eecdc801d3.zip |
Remove more warnings on variables.
-rw-r--r-- | actionpack/lib/action_dispatch/routing/url_for.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/url_for.rb b/actionpack/lib/action_dispatch/routing/url_for.rb index e836cf7c8e..7be0f2769a 100644 --- a/actionpack/lib/action_dispatch/routing/url_for.rb +++ b/actionpack/lib/action_dispatch/routing/url_for.rb @@ -136,6 +136,7 @@ module ActionDispatch protected def _with_routes(routes) + @_routes ||= nil old_routes, @_routes = @_routes, routes yield ensure |