Clear url helpers when reloading routes

This commit is contained in:
Santiago Pastorino 2012-11-02 19:10:22 -02:00
parent 8fc52706c3
commit 96bcef947b
2 changed files with 5 additions and 0 deletions

@ -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