Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Update `index` method in `AccountsController` to fetch all accounts (#1491)

Arsen Shkrumelyakc1034e6edf1b
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb
index 93a47388..56c29d26 100644
--- a/app/controllers/accounts_controller.rb
+++ b/app/controllers/accounts_controller.rb
@@ -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