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.
8 lines
147 B
Ruby
8 lines
147 B
Ruby
class Valuation::Budgets::IndexComponent < ApplicationComponent
|
|
attr_reader :budgets
|
|
|
|
def initialize(budgets)
|
|
@budgets = budgets
|
|
end
|
|
end
|