mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Add whatsapp_phone to permitted attributes
Allows creating and updating the enterprise's WhatsApp phone number in the registration form and contact edit views.
This commit is contained in:
@@ -24,7 +24,7 @@ module PermittedAttributes
|
||||
|
||||
def self.basic_permitted_attributes
|
||||
[
|
||||
:id, :name, :visible, :permalink, :owner_id, :contact_name, :email_address, :phone,
|
||||
:id, :name, :visible, :permalink, :owner_id, :contact_name, :email_address, :phone, :whatsapp_phone,
|
||||
:is_primary_producer, :sells, :website, :facebook, :instagram, :linkedin, :twitter,
|
||||
:description, :long_description, :logo, :promo_image, :terms_and_conditions,
|
||||
:allow_guest_orders, :allow_order_changes, :require_login, :enable_subscriptions,
|
||||
|
||||
Reference in New Issue
Block a user