aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDries Steenhouwer <steenhouwer.dries@gmail.com>2013-11-21 10:46:14 +0100
committerDries Steenhouwer <steenhouwer.dries@gmail.com>2013-11-21 10:46:14 +0100
commit9944242e3486586f397ad4353c32c411b7ef670b (patch)
tree154f726d0e5bf1eec465d9b385bb159210cd9498 /app
parenta901e2c67af68013a3f7040d21860719c7264fc9 (diff)
downloadrefinerycms-pc_banners-9944242e3486586f397ad4353c32c411b7ef670b.tar.gz
refinerycms-pc_banners-9944242e3486586f397ad4353c32c411b7ef670b.tar.bz2
refinerycms-pc_banners-9944242e3486586f397ad4353c32c411b7ef670b.zip
fix for refinery 2-1
Diffstat (limited to 'app')
-rw-r--r--app/models/refinery/banners/banner.rb14
1 files changed, 3 insertions, 11 deletions
diff --git a/app/models/refinery/banners/banner.rb b/app/models/refinery/banners/banner.rb
index 37135e9..16aa8fd 100644
--- a/app/models/refinery/banners/banner.rb
+++ b/app/models/refinery/banners/banner.rb
@@ -1,3 +1,5 @@
+require 'acts_as_indexed'
+
module Refinery
module Banners
class Banner < Refinery::Core::BaseModel
@@ -26,14 +28,4 @@ module Refinery
end
end
-end
-
-#t.string :name
-#t.string :title
-#t.string :description
-#t.integer :image_id
-#t.string :url
-#t.boolean :is_active
-#t.date :start_date
-#t.date :expiry_date
-#t.integer :position \ No newline at end of file
+end \ No newline at end of file