Use current_budget directly instead of instance variable
This commit is contained in:
@@ -15,7 +15,6 @@ class BudgetsController < ApplicationController
|
||||
|
||||
def index
|
||||
@finished_budgets = @budgets.finished.order(created_at: :desc)
|
||||
@current_budget = current_budget
|
||||
@budgets_coordinates = current_budget_map_locations
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user