Files
grecia/app/components/budgets/groups/index_component.rb
decabeza 4a9aae9806 Add groups index page
When render the investment list component with the link "see all
investments", now we redirect to groups index page when a budget has
multiple headings.
2021-08-09 21:45:29 +02:00

13 lines
211 B
Ruby

class Budgets::Groups::IndexComponent < ApplicationComponent
include Header
attr_reader :budget
def initialize(budget)
@budget = budget
end
def title
t("budgets.groups.show.title")
end
end