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

@@ -1,5 +1,5 @@
resources :budgets, only: [:show, :index] do
resources :groups, controller: "budgets/groups", only: [:show]
resources :groups, controller: "budgets/groups", only: [:show, :index]
resources :investments, controller: "budgets/investments" do
member do
put :flag