mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix business_address attribute permissions
This commit is contained in:
committed by
Nihal M. Kelanthodika
parent
9007418455
commit
26c7cb2bd3
@@ -1,14 +1,14 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module PermittedAttributes
|
||||
class BusinessAddress
|
||||
def self.attributes
|
||||
[
|
||||
:business_name, :address1, :address2,
|
||||
:city, :country_id, :state_id, :zipcode,
|
||||
:phone
|
||||
]
|
||||
end
|
||||
class BusinessAddress
|
||||
def self.attributes
|
||||
[
|
||||
:company, :address1, :address2,
|
||||
:city, :country_id, :state_id, :zipcode,
|
||||
:phone
|
||||
]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user