From 2b438966f5730717c0a6cfcece64dc74a966ad20 Mon Sep 17 00:00:00 2001 From: Dirk Kelly Date: Tue, 1 Feb 2011 16:17:12 +0800 Subject: [PATCH] including the listed module --- app/models/extensions/page/listed.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 app/models/extensions/page/listed.rb diff --git a/app/models/extensions/page/listed.rb b/app/models/extensions/page/listed.rb new file mode 100644 index 00000000..3a940e92 --- /dev/null +++ b/app/models/extensions/page/listed.rb @@ -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 + +