adds active class on subnavigation for budgets investments
This commit is contained in:
@@ -30,7 +30,10 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
<% if feature?(:budgets) %>
|
<% if feature?(:budgets) %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to t("layouts.header.budgets"), budgets_path, class: ("active" if controller_name == "budgets"), accesskey: "b" %>
|
<%= layout_menu_link_to t("layouts.header.budgets"),
|
||||||
|
budgets_path,
|
||||||
|
controller_name == "budgets" || controller_name == "investments",
|
||||||
|
accesskey: "b" %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user