mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Add some new contact fields to registrar
This commit is contained in:
parent
0c16146ebb
commit
65d849cc36
10 changed files with 81 additions and 24 deletions
|
@ -55,6 +55,9 @@ class Admin::RegistrarsController < AdminController
|
|||
end
|
||||
|
||||
def registrar_params
|
||||
params.require(:registrar).permit(:name, :reg_no, :vat_no, :address, :billing_address, :country_id)
|
||||
params.require(:registrar).permit(
|
||||
:name, :reg_no, :vat_no, :address, :billing_address,
|
||||
:country_id, :email, :phone, :billing_email
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue