aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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