changes order for finished budgets on budgets homepage list

This commit is contained in:
decabeza
2018-01-22 14:46:54 +01:00
parent 155840a130
commit 0eaba9fc9e

View File

@@ -14,7 +14,7 @@ class BudgetsController < ApplicationController
end end
def index def index
@budgets = @budgets.order(:created_at) @budgets = @budgets.order(created_at: :desc)
@budget = current_budget @budget = current_budget
@budgets_coordinates = current_budget_map_locations @budgets_coordinates = current_budget_map_locations
end end