提交 96bcef94 编写于 作者: S Santiago Pastorino

Clear url helpers when reloading routes

上级 8fc52706
## 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册