diff --git a/app/controllers/budgets_controller.rb b/app/controllers/budgets_controller.rb index 6d3b5e154..8d69b8c98 100644 --- a/app/controllers/budgets_controller.rb +++ b/app/controllers/budgets_controller.rb @@ -15,7 +15,7 @@ class BudgetsController < ApplicationController def index @finished_budgets = @budgets.finished.order(created_at: :desc) - @budget = current_budget + @current_budget = current_budget @budgets_coordinates = current_budget_map_locations end diff --git a/app/views/budgets/_phases.html.erb b/app/views/budgets/_phases.html.erb index 1d0968c46..928ffb993 100644 --- a/app/views/budgets/_phases.html.erb +++ b/app/views/budgets/_phases.html.erb @@ -1,6 +1,6 @@