From cea9db41effe5a484d9284898c375af2eac6304b Mon Sep 17 00:00:00 2001 From: Arthur Del Esposte Date: Sun, 27 Jul 2014 15:51:27 -0300 Subject: [PATCH] Adding attr_accessible for slideshow block attributes --- app/models/slideshow_block.rb | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/models/slideshow_block.rb b/app/models/slideshow_block.rb index 2f75b87..c73e095 100644 --- a/app/models/slideshow_block.rb +++ b/app/models/slideshow_block.rb @@ -6,6 +6,8 @@ class SlideshowBlock < Block settings_items :navigation, :type => 'boolean', :default => false settings_items :image_size, :type => 'string', :default => 'thumb' + attr_accessible :gallery_id, :image_size, :interval, :shuffle, :navigation + def self.description _('Slideshow') end -- libgit2 0.21.2