including the listed module
This commit is contained in:
parent
9a1f45de36
commit
2b438966f5
19
app/models/extensions/page/listed.rb
Normal file
19
app/models/extensions/page/listed.rb
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
module Models
|
||||||
|
module Extensions
|
||||||
|
module Page
|
||||||
|
module Listed
|
||||||
|
|
||||||
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
|
included do
|
||||||
|
|
||||||
|
field :listed, :type => Boolean, :default => true
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user