app/models/effective/carousel_item.rb in effective_pages-3.8.0 vs app/models/effective/carousel_item.rb in effective_pages-3.8.1
- old
+ new
@@ -13,11 +13,9 @@
# For the image attachment
has_one_attached :file
log_changes if respond_to?(:log_changes)
- self.table_name = EffectivePages.carousel_items_table_name.to_s
-
effective_resource do
carousel :string # The hardcoded carousel I render underneath
title :string
caption :string