Commit cea9db41effe5a484d9284898c375af2eac6304b

Authored by Arthur Esposte
1 parent bc1632a9

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 settings_items :navigation, :type => 'boolean', :default => false
7 7 settings_items :image_size, :type => 'string', :default => 'thumb'
8 8  
  9 + attr_accessible :gallery_id, :image_size, :interval, :shuffle, :navigation
  10 +
9 11 def self.description
10 12 _('Slideshow')
11 13 end
... ...