Logging user actions #2808

This commit is contained in:
Priit Tark 2015-07-23 17:44:52 +03:00
parent 79ac8db0eb
commit 8700beea60
7 changed files with 3 additions and 70 deletions

View file

@ -11,7 +11,7 @@ class Epp::Domain < Domain
before_validation :validate_contacts
def validate_contacts
return if contacts.map {|c| c.valid? }.all?
return if contacts.map(&:valid?).all?
add_epp_error('2304', nil, nil, I18n.t(:object_status_prohibits_operation))
false
end