Created
April 19, 2016 07:36
-
-
Save Marthyn/bf97f14df646f029007521462496ed5e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def contact_person_params | |
params.require(:contact_person).permit(:first_name, :middle_name, :last_name, :phone_number, :title, :initials, :job_description) | |
end | |
def account_params | |
params.require(:account).permit(:starting_company, :turnover, :company_name, :kvk_number, :btw_number, :phone, | |
:address_postalcode, :address_housenumber, :address_streetname, :address_city, | |
:invoice_email_address, | |
:invoice_address_postalcode, :invoice_address_housenumber, | |
:invoice_address_streetname, :invoice_address_city) | |
end | |
def contract_params | |
params.require(:contract).permit(:article_code, :notes, :agree_terms, :agree_order, :date) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment