Revision 229d7436
Added by Joseph Magen over 10 years ago
app/models/subnet.rb | ||
---|---|---|
class Subnet < ActiveRecord::Base
|
||
include Authorization
|
||
include Taxonomix
|
||
audited :allow_mass_assignment => true
|
||
|
||
before_destroy EnsureNotUsedBy.new(:hosts, :interfaces )
|
||
has_many_hosts
|
Also available in: Unified diff
fixes #3975 - add audit to classes Domain, Subnet, SmartProxy, Role, Usergroup, AuthSource, Image, Bookmark that were not audited