Commit cea9db41effe5a484d9284898c375af2eac6304b
1 parent
bc1632a9
Exists in
master
and in
27 other branches
Adding attr_accessible for slideshow block attributes
(ActionItem3237)
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/models/slideshow_block.rb
@@ -6,6 +6,8 @@ class SlideshowBlock < Block | @@ -6,6 +6,8 @@ class SlideshowBlock < Block | ||
6 | settings_items :navigation, :type => 'boolean', :default => false | 6 | settings_items :navigation, :type => 'boolean', :default => false |
7 | settings_items :image_size, :type => 'string', :default => 'thumb' | 7 | settings_items :image_size, :type => 'string', :default => 'thumb' |
8 | 8 | ||
9 | + attr_accessible :gallery_id, :image_size, :interval, :shuffle, :navigation | ||
10 | + | ||
9 | def self.description | 11 | def self.description |
10 | _('Slideshow') | 12 | _('Slideshow') |
11 | end | 13 | end |