Permalink
Browse files

Clear url helpers when reloading routes

  • Loading branch information...
spastorino committed Nov 2, 2012
1 parent 8fc5270 commit 96bcef947bf713b7d9fc88f26dff69f568111262
Showing with 5 additions and 0 deletions.
  1. +4 −0 actionpack/CHANGELOG.md
  2. +1 −0 actionpack/lib/action_dispatch/routing/route_set.rb
View
@@ -1,5 +1,9 @@
## Rails 4.0.0 (unreleased) ##
+* Clear url helpers when reloading routes.
+
+ *Santiago Pastorino*
+
* `BestStandardsSupport` middleware now appends it's `X-UA-Compatible` value to app's
returned value if any. Fix #8086
@@ -288,6 +288,7 @@ def finalize!
def clear!
@finalized = false
+ @url_helpers = nil
named_routes.clear
set.clear
formatter.clear

0 comments on commit 96bcef9

Please sign in to comment.