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:11:58 -0200
commite41d78ce221b2ca84cc260e20f3813eaace586b3 (patch)
tree2a3ab1596d0a608e919ee48eb7107c8b78a8e905 /actionpack/lib/action_dispatch
parent190dddf2314d394bb5c8435d8aea85a3254b55cb (diff)
downloadrails-e41d78ce221b2ca84cc260e20f3813eaace586b3.tar.gz
rails-e41d78ce221b2ca84cc260e20f3813eaace586b3.tar.bz2
rails-e41d78ce221b2ca84cc260e20f3813eaace586b3.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 cde6cb20cc..667094c469 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -291,6 +291,7 @@ module ActionDispatch
def clear!
@finalized = false
+ @url_helpers = nil
named_routes.clear
set.clear
formatter.clear