Highlight budgets menu when editing budget phases

This commit is contained in:
Julian Herrero
2019-01-20 15:03:45 +01:00
parent 7b8f8f0f74
commit f38c4e3a0c

View File

@@ -30,7 +30,7 @@ module AdminHelper
end
def menu_budgets?
%w[budgets budget_groups budget_headings budget_investments].include?(controller_name)
controller_name.starts_with?("budget")
end
def menu_budget?