aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-11-02 19:10:22 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2012-11-02 19:10:22 -0200
commit96bcef947bf713b7d9fc88f26dff69f568111262 (patch)
tree2523ff652bfb2f67ffedd6ed6ba4c7f72ab7572f /actionpack/lib/action_dispatch
parent8fc52706c376be03f644e847d1dd357fc88ead6f (diff)
downloadrails-96bcef947bf713b7d9fc88f26dff69f568111262.tar.gz
rails-96bcef947bf713b7d9fc88f26dff69f568111262.tar.bz2
rails-96bcef947bf713b7d9fc88f26dff69f568111262.zip
Clear url helpers when reloading routes
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index 61071d1228..0f95daa790 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -288,6 +288,7 @@ module ActionDispatch
def clear!
@finalized = false
+ @url_helpers = nil
named_routes.clear
set.clear
formatter.clear