Skip to content

Commit

Permalink
Update index method in AccountsController to fetch all accounts (#…
Browse files Browse the repository at this point in the history
…1491)

* Fetch all manual accounts, regardless of their active status
* Fetch all Plaid items, regardless of their active status
  • Loading branch information
arsenstorm authored Nov 22, 2024
1 parent 1c2f075 commit c1034e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/accounts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ class AccountsController < ApplicationController
before_action :set_account, only: %i[sync]

def index
@manual_accounts = Current.family.accounts.manual.active.alphabetically
@plaid_items = Current.family.plaid_items.active.ordered
@manual_accounts = Current.family.accounts.manual.alphabetically
@plaid_items = Current.family.plaid_items.ordered
end

def summary
Expand Down

0 comments on commit c1034e6

Please sign in to comment.