Use current_budget directly instead of instance variable

This commit is contained in:
Bertocq
2018-01-24 13:09:47 +01:00
parent 8749b46ec4
commit c01c08a3f4
3 changed files with 18 additions and 19 deletions

View File

@@ -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