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.
This commit is contained in:
decabeza
2020-05-04 12:44:18 +02:00
committed by Javi Martín
parent 3cd2529791
commit 4a9aae9806
12 changed files with 58 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
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