From 5c71c0aaa5c96683b56d2d8af0dfdac8424e41d2 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Thu, 2 Sep 2010 17:49:11 +1200 Subject: Comment moderation now working in the backend. Of course it still happens automatically if the blog isn't moderated based on whether it's spam or not. --- config/routes.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index fabb925..ce4a2ef 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,11 +8,17 @@ if Rails.version < '3.0.0' map.namespace(:admin, :path_prefix => 'refinery') do |admin| admin.namespace :blog do |blog| blog.resources :posts + blog.resources :categories + blog.resources :comments, :collection => { :approved => :get, :rejected => :get + }, :member => { + :approved => :get, + :rejected => :get } + blog.resources :settings, :collection => { :notification_recipients => [:get, :post], :moderation => :get -- cgit v1.2.3