aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin/blog/comments_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/blog/comments_controller.rb')
-rw-r--r--app/controllers/admin/blog/comments_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/admin/blog/comments_controller.rb b/app/controllers/admin/blog/comments_controller.rb
index 4c3487c..ba9593a 100644
--- a/app/controllers/admin/blog/comments_controller.rb
+++ b/app/controllers/admin/blog/comments_controller.rb
@@ -2,6 +2,11 @@ class Admin::Blog::CommentsController < Admin::BaseController
crudify :blog_comment, :title_attribute => :name, :order => 'created_at DESC'
+ def index
+ @blog_comments = BlogComment.unmoderated
+ render :action => 'index'
+ end
+
def approved
@blog_comments = BlogComment.approved
render :action => 'index'