mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
111864739-contact_and_domain_create
This commit is contained in:
parent
59f7f364ad
commit
6ebcaf69d0
5 changed files with 67 additions and 17 deletions
|
@ -19,6 +19,8 @@ class Epp::ContactsController < EppController
|
|||
authorize! :create, Epp::Contact
|
||||
@contact = Epp::Contact.new(params[:parsed_frame], current_user.registrar)
|
||||
|
||||
@contact.add_legal_file_to_new(params[:parsed_frame])
|
||||
|
||||
if @contact.save
|
||||
render_epp_response '/epp/contacts/create'
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue