app/models/ecm/blog/post.rb in ecm_blog-1.3.0 vs app/models/ecm/blog/post.rb in ecm_blog-1.3.1
- old
+ new
@@ -6,10 +6,10 @@
# publishing
include ActsAsPublished::ActiveRecord
acts_as_published
# positioning
- acts_as_list
+ acts_as_list add_new_at: :top
default_scope { order(position: :asc) }
# assets
has_many_attached :assets if respond_to?(:has_many_attached)