Project

General

Profile

Download (295 Bytes) Statistics
| Branch: | Tag: | Revision:
class DomainParameter < Parameter
audited :except => [:priority], :associated_with => :domain
validates :name, :uniqueness => {:scope => :reference_id}
validates :domain, :presence => true

def associated_type
N_('domain')
end

def associated_label
domain.to_label
end
end
(2-2/8)