Skip to content

Commit

Permalink
Clear url helpers when reloading routes
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Nov 2, 2012
1 parent 8fc5270 commit 96bcef9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions actionpack/CHANGELOG.md
@@ -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

Expand Down
1 change: 1 addition & 0 deletions actionpack/lib/action_dispatch/routing/route_set.rb
Expand Up @@ -288,6 +288,7 @@ def finalize!

def clear!
@finalized = false
@url_helpers = nil
named_routes.clear
set.clear
formatter.clear
Expand Down

0 comments on commit 96bcef9

Please sign in to comment.