Project

General

Profile

« Previous | Next » 

Revision 18c4b17f

Added by Ori Rabin over 8 years ago

refs #12179 - refactoring extracted strings for host parameters

View differences:

app/models/parameters/location_parameter.rb
validates :name, :uniqueness => {:scope => :reference_id}
validates :location, :presence => true
def associated_type
N_('location')
end
def associated_label
location.to_label
end
private
def enforce_permissions(operation)

Also available in: Unified diff