aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDries Steenhouwer <steenhouwer.dries@gmail.com>2014-10-06 13:43:56 +0200
committerDries Steenhouwer <steenhouwer.dries@gmail.com>2014-10-06 13:43:56 +0200
commit298f2dfd52b50f289f93f643f481b327bebd9028 (patch)
treea12a837aa259fa1bd9c73e63fe2ae3db0ef74cb7 /app
parentcafa8c85752d1da98d2cd462bff3bd5bae2f4b4b (diff)
downloadrefinerycms-pc_banners-298f2dfd52b50f289f93f643f481b327bebd9028.tar.gz
refinerycms-pc_banners-298f2dfd52b50f289f93f643f481b327bebd9028.tar.bz2
refinerycms-pc_banners-298f2dfd52b50f289f93f643f481b327bebd9028.zip
fix rails4
Diffstat (limited to 'app')
-rw-r--r--app/models/refinery/banners/banner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/refinery/banners/banner.rb b/app/models/refinery/banners/banner.rb
index 30c151a..08b4b38 100644
--- a/app/models/refinery/banners/banner.rb
+++ b/app/models/refinery/banners/banner.rb
@@ -7,7 +7,7 @@ module Refinery
acts_as_indexed :fields => [:name, :url, :title, :description]
- attr_accessible :name, :title, :description, :image_id, :url, :is_active, :start_date, :expiry_date, :position, :page_ids, :locale
+ # attr_accessible :name, :title, :description, :image_id, :url, :is_active, :start_date, :expiry_date, :position, :page_ids, :locale
validates :name, :presence => true
validates_presence_of :start_date