Highlight dropdown if 'research', 'resources', or 'in the news' is selected

This commit is contained in:
rebuilt 2022-12-16 15:33:50 -08:00
parent 93cbfe6e9d
commit 390327722a

View file

@ -16,7 +16,7 @@
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle <%= link_highlight(paths: [ resource_index_path]) %> " href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle <%= link_highlight(paths: [ in_the_news_index_path, research_index_path, resource_index_path]) %> " href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Research & Resources
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">