Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Merchants: Display all merchants on Settings page

Dylan Corralesc49832a40124
diff --git a/app/controllers/family_merchants_controller.rb b/app/controllers/family_merchants_controller.rb
index d0875393b3..417a01fe14 100644
--- a/app/controllers/family_merchants_controller.rb
+++ b/app/controllers/family_merchants_controller.rb
@@ -5,7 +5,7 @@ class FamilyMerchantsController < ApplicationController
@breadcrumbs = [ [ "Home", root_path ], [ "Merchants", nil ] ]
# Show all merchants assigned to transactions (both FamilyMerchant and ProviderMerchant)
- @family_merchants = Current.family.assigned_merchants.alphabetically
+ @family_merchants = Current.family.merchants.alphabetically
render layout: "settings"
end