Revision 8c68024a
Added by Daniel Lobato Garcia over 10 years ago
app/models/hostgroup.rb | ||
---|---|---|
class Hostgroup < ActiveRecord::Base
|
||
has_ancestry :orphan_strategy => :rootify
|
||
has_ancestry :orphan_strategy => :restrict
|
||
include Authorization
|
||
include Taxonomix
|
||
include HostCommon
|
Also available in: Unified diff
fixes #2231 - hostgroup deletion is restricted to hostgroups without children