= render collection: Post.published.order(created_at: :desc), partial: 'preview', as: :post

= render 'author'

= render collection: Post.published.order(published_at: :desc), partial: 'preview', as: :post

= render 'author'

Sort home page posts by publication date
Sort home page posts by publication date

aomega08/IndieRails,aomega08/IndieRails,aomega08/IndieRails