1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-21 14:19:39 +02:00

Update index method in AccountsController to fetch all accounts (#1491)
Some checks failed
Publish Docker image / ci (push) Has been cancelled
Publish Docker image / Build docker image (push) Has been cancelled

* Fetch all manual accounts, regardless of their active status
* Fetch all Plaid items, regardless of their active status
This commit is contained in:
Arsen Shkrumelyak 2024-11-22 20:28:36 +00:00 committed by GitHub
parent 1c2f075053
commit c1034e6edf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,8 +4,8 @@ class AccountsController < ApplicationController
before_action :set_account, only: %i[sync] before_action :set_account, only: %i[sync]
def index def index
@manual_accounts = Current.family.accounts.manual.active.alphabetically @manual_accounts = Current.family.accounts.manual.alphabetically
@plaid_items = Current.family.plaid_items.active.ordered @plaid_items = Current.family.plaid_items.ordered
end end
def summary def summary