app/models/tramway/landing/block.rb in tramway-landing-1.4.7.4 vs app/models/tramway/landing/block.rb in tramway-landing-1.5
- old
+ new
@@ -1,6 +1,6 @@
class Tramway::Landing::Block < ::Tramway::Landing::ApplicationRecord
- enumerize :block_type, in: [ :header, :footer, :page, :cards, :features, :contacts, :news, :link ]
+ enumerize :block_type, in: [ :header, :footer, :page, :cards, :features, :contacts, :news, :link, :page_with_button ]
enumerize :navbar_link, in: [ :exist, :not_exist ], default: :not_exist
enumerize :link_object_type, in: [ 'Tramway::SportSchool::Document', 'Tramway::Page::Page' ]
mount_uploader :background, PhotoUploader