mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Family merchant logo (#660)
* FIX merchant regression * Add logo support for family merchants * Update family_merchant.rb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user