Family merchant logo (#660)

* FIX merchant regression

* Add logo support for family merchants

* Update family_merchant.rb
This commit is contained in:
soky srm
2026-01-15 17:00:32 +01:00
committed by GitHub
parent f94a04d2e1
commit 4cc321a083
4 changed files with 31 additions and 1 deletions

View File

@@ -116,7 +116,7 @@ class FamilyMerchantsController < ApplicationController
def merchant_params
# Handle both family_merchant and provider_merchant param keys
key = params.key?(:family_merchant) ? :family_merchant : :provider_merchant
params.require(key).permit(:name, :color)
params.require(key).permit(:name, :color, :website_url)
end
def all_family_merchants