Revision 84f7fc68
Added by Marek Hulán over 8 years ago
app/models/nic/managed.rb | ||
---|---|---|
|
||
protected
|
||
|
||
def uniq_fields_with_hosts
|
||
super + [:name]
|
||
end
|
||
|
||
def copy_hostname_from_host
|
||
self.name = host.read_attribute :name
|
||
end
|
Also available in: Unified diff
Fixes #11696 - remove unused code