Revision 4e1a67a2
Added by Marek Hulán about 4 years ago
app/models/domain.rb | ||
---|---|---|
}
|
||
|
||
class Jail < Safemode::Jail
|
||
allow :name, :fullname
|
||
allow :id, :name, :fullname
|
||
end
|
||
|
||
# return the primary name server for our domain based on DNS lookup
|
Also available in: Unified diff
Fixes #28769 - add more loader macros
There are multiple objects that has Jail defined but can't be loaded in
a sane way. This patch adds load_* macros for all such objects. It also
extracts loaders from base macros to separate file. Load macros are
defined dynamically to avoid repetition of definition and to unify
capabilities of all such macros.