diff options
Diffstat (limited to 'app/controllers/admin/blog')
-rw-r--r-- | app/controllers/admin/blog/comments_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/admin/blog/posts_controller.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/admin/blog/comments_controller.rb b/app/controllers/admin/blog/comments_controller.rb index 709d86d..0dc1db5 100644 --- a/app/controllers/admin/blog/comments_controller.rb +++ b/app/controllers/admin/blog/comments_controller.rb @@ -2,7 +2,7 @@ class Admin::Blog::CommentsController < Admin::BaseController crudify :blog_comment, :title_attribute => :name, - :order => 'created_at DESC' + :order => 'published_at DESC' def index @blog_comments = BlogComment.unmoderated diff --git a/app/controllers/admin/blog/posts_controller.rb b/app/controllers/admin/blog/posts_controller.rb index 402748e..bd5dd49 100644 --- a/app/controllers/admin/blog/posts_controller.rb +++ b/app/controllers/admin/blog/posts_controller.rb @@ -2,7 +2,7 @@ class Admin::Blog::PostsController < Admin::BaseController crudify :blog_post, :title_attribute => :title, - :order => 'created_at DESC' + :order => 'published_at DESC' before_filter :find_all_categories, :only => [:new, :edit, :create, :update] |