Load all the published budgets in the valuation interface
As now multiple budget can coexist at the same time it has sense to be able to browse all the published budgets in the valuation budgets index page.
This commit is contained in:
@@ -5,6 +5,6 @@ class Valuation::BudgetsController < Valuation::BaseController
|
||||
load_and_authorize_resource
|
||||
|
||||
def index
|
||||
@budget = current_budget
|
||||
@budgets = @budgets.published.order(created_at: :desc)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user