spec/dummy/app/models/sunrise_post.rb in sunrise-cms-0.3.0 vs spec/dummy/app/models/sunrise_post.rb in sunrise-cms-0.3.1
- old
+ new
@@ -18,10 +18,10 @@
field :title
field :content
field :is_visible
end
- export do
+ list :export do
scope { Post.includes(:structure) }
field :id
field :title
field :created_at