diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/refinery/blog/controller_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/refinery/blog/controller_helper.rb b/app/helpers/refinery/blog/controller_helper.rb index a300148..7235096 100644 --- a/app/helpers/refinery/blog/controller_helper.rb +++ b/app/helpers/refinery/blog/controller_helper.rb @@ -15,7 +15,7 @@ module Refinery end def find_all_blog_posts - @posts = Refinery::Blog::Post.live.includes(:comments, :categories).with_globalize.page(params[:page]) + @posts = Refinery::Blog::Post.live.includes(:comments, :categories).with_globalize.newest_first.page(params[:page]) end def find_tags |