Skip to content

Commit

Permalink
Update navigation_component.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
martyn-w committed Apr 24, 2024
1 parent 9763946 commit 924f8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/header/navigation_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def page_list(resource:, subcategory:, css_class:, mode:)
def view_all_link(resource, mode)
title = "View all in #{resource.title}"
path = resource.path
id = "menu-view-all-#{path.parameterize}-#{mode.parameterize}"
id = "menu-view-all-#{path.parameterize}-#{mode}"
li_css = "view-all #{'active' if uri_is_root?(path)}"
link_css = "link--black"

Expand Down

0 comments on commit 924f8e5

Please sign in to comment.