Clear url helpers when reloading routes
This commit is contained in:
parent
8fc52706c3
commit
96bcef947b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user