From 104ccf11e47edec112c198d6cf31af697e725ab2 Mon Sep 17 00:00:00 2001 From: kikito Date: Fri, 2 Dec 2016 19:16:12 +0100 Subject: [PATCH] Updates paths --- app/helpers/budget_helper.rb | 2 +- app/views/management/_menu.html.erb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/helpers/budget_helper.rb b/app/helpers/budget_helper.rb index af239f074..c35808389 100644 --- a/app/helpers/budget_helper.rb +++ b/app/helpers/budget_helper.rb @@ -15,7 +15,7 @@ module BudgetHelper options[:budget_id] ||= investment.budget.id case @namespace_budget_investment_path when "management" - management_budget_investment_path(investment, options) + management_budgets_investment_path(investment, options) else budget_investment_path(investment, options) end diff --git a/app/views/management/_menu.html.erb b/app/views/management/_menu.html.erb index 1a24bba29..5ccaf8be6 100644 --- a/app/views/management/_menu.html.erb +++ b/app/views/management/_menu.html.erb @@ -45,14 +45,14 @@
  • > - <%= link_to new_management_budget_investment_path do %> + <%= link_to new_management_budgets_investment_path do %> <%= t("management.menu.create_budget_investment") %> <% end %>
  • > - <%= link_to management_budget_investments_path do %> + <%= link_to management_budgets_investments_path do %> <%= t("management.menu.support_budget_investments") %> <% end %> @@ -73,7 +73,7 @@
  • > - <%= link_to print_management_budget_investments_path do %> + <%= link_to print_management_budgets_investments_path do %> <%= t("management.menu.print_budget_investments") %> <% end %>