aboutsummaryrefslogtreecommitdiffstats
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
parenta901e2c67af68013a3f7040d21860719c7264fc9 (diff)
downloadrefinerycms-pc_banners-9944242e3486586f397ad4353c32c411b7ef670b.tar.gz
refinerycms-pc_banners-9944242e3486586f397ad4353c32c411b7ef670b.tar.bz2
refinerycms-pc_banners-9944242e3486586f397ad4353c32c411b7ef670b.zip
fix for refinery 2-1
-rw-r--r--app/models/refinery/banners/banner.rb14
-rw-r--r--refinerycms-pc_banners.gemspec4
2 files changed, 5 insertions, 13 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
diff --git a/refinerycms-pc_banners.gemspec b/refinerycms-pc_banners.gemspec
index c187d19..1ef73f6 100644
--- a/refinerycms-pc_banners.gemspec
+++ b/refinerycms-pc_banners.gemspec
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/julesce/refinerycms-pods'
# Runtime dependencies
- s.add_dependency 'refinerycms-pages', '~> 2.0.1'
+ s.add_dependency 'refinerycms-pages', '~> 2.1.0'
# Development dependencies (usually used for testing)
- s.add_development_dependency 'refinerycms-testing', '~> 2.0.1'
+ s.add_development_dependency 'refinerycms-testing', '~> 2.1.0'
end