Permalink
Browse files

modified: app/helpers/application_helper.rb

  • Loading branch information...
1 parent f757166 commit 50f5d7abc0dc035043aaa94b9edd120440695232 @jodyalbritton committed Jul 21, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/helpers/application_helper.rb
@@ -10,7 +10,7 @@ def link_to_add_fields(name, f, association)
end
def featured_videos
- Video.where(:sponsored => false).order(:published_at).first(4)
+ Video.where(:sponsored => false).order(:published_at).reverse.first(4)
end
def sponsored_videos
@@ -23,7 +23,7 @@ def featured_galleries
Gallery.order(:created_at).first(6)
end
def featured_posts
- Post.order(:published_at).first(4)
+ Post.order(:published_at).reverse.first(4)
end
def site_categories

0 comments on commit 50f5d7a

Please sign in to comment.