mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Merge branch 'master' into contact-refactor
This commit is contained in:
commit
17af1218b5
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ class Epp::DomainsController < EppController
|
||||||
@domain = Epp::Domain.new_from_epp(params[:parsed_frame], current_user)
|
@domain = Epp::Domain.new_from_epp(params[:parsed_frame], current_user)
|
||||||
handle_errors(@domain) and return if @domain.errors.any?
|
handle_errors(@domain) and return if @domain.errors.any?
|
||||||
@domain.valid?
|
@domain.valid?
|
||||||
|
@domain.errors.delete(:name_dirty) if @domain.errors[:puny_label].any?
|
||||||
handle_errors(@domain) and return if @domain.errors.any?
|
handle_errors(@domain) and return if @domain.errors.any?
|
||||||
|
|
||||||
handle_errors and return unless balance_ok?('create')
|
handle_errors and return unless balance_ok?('create')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue