app/models/tramway/landing/block.rb in tramway-landing-3.1.0.5 vs app/models/tramway/landing/block.rb in tramway-landing-3.1.0.6

- old
+ new

@@ -6,10 +6,10 @@ enumerize :block_type, in: %i[header header_with_form footer page cards features contacts link page_with_button just_text view] enumerize :navbar_link, in: %i[exist not_exist], default: :not_exist enumerize :link_object_type, in: ['Tramway::SportSchool::Document', 'Tramway::Page::Page'] - mount_uploader :background, PhotoUploader + uploader :background, :photo, extensions: %i[jpg jpeg gif png] state_machine :view_state, initial: :published do state :published state :hidden