Added registrar code

This commit is contained in:
Priit Tark 2015-05-04 12:35:42 +03:00
parent 85efa5eb28
commit 8b22c58eec
7 changed files with 28 additions and 5 deletions

View file

@ -57,7 +57,7 @@ class Admin::RegistrarsController < AdminController
def registrar_params
params.require(:registrar).permit(
:name, :reg_no, :vat_no, :street, :city, :state, :zip, :billing_address,
:country_code, :email, :phone, :billing_email
:country_code, :email, :phone, :billing_email, :code
)
end
end