Fix business_address attribute permissions

This commit is contained in:
Nihal Mohammed
2021-07-26 19:00:07 +05:30
committed by Nihal M. Kelanthodika
parent 9007418455
commit 26c7cb2bd3

View File

@@ -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