• azul's avatar
    refactor: use separate page_search_navigation · 29b4ed2b
    azul authored
    Hooking into the global nav system meant it would try to render
    the navigation even for error messages such as 404.
    
    This way the navigation is linked closer to the template
    that is rendered and will not be rendered for other templates.
    29b4ed2b
context_helper.rb 4.42 KB