Skip to content
  • Andrew White's avatar
    2f73ad74
    Clear named routes when routes.rb is reloaded · 2f73ad74
    Andrew White authored
    Fix an issue where Journey was failing to clear the named routes hash when the
    routes were reloaded and since it doesn't overwrite existing routes then if a
    route changed but wasn't renamed it kept the old definition. This was being
    masked by the optimised url helpers so it only became apparent when passing an
    options hash to the url helper.
    
    (cherry picked from commit e5275f9b)
    
    Conflicts:
    	actionpack/CHANGELOG.md
    2f73ad74
    Clear named routes when routes.rb is reloaded
    Andrew White authored
    Fix an issue where Journey was failing to clear the named routes hash when the
    routes were reloaded and since it doesn't overwrite existing routes then if a
    route changed but wasn't renamed it kept the old definition. This was being
    masked by the optimised url helpers so it only became apparent when passing an
    options hash to the url helper.
    
    (cherry picked from commit e5275f9b)
    
    Conflicts:
    	actionpack/CHANGELOG.md
Loading