diff options
author | Philip Arndt <parndt@gmail.com> | 2010-09-02 17:49:11 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-09-02 17:49:11 +1200 |
commit | 5c71c0aaa5c96683b56d2d8af0dfdac8424e41d2 (patch) | |
tree | e0437a22051a2128ac0e9dcf08b3a2d16c73b4e0 /config/routes.rb | |
parent | 4d1e364085c0de27d3ca58cc90eba9036744fc79 (diff) | |
download | refinerycms-blog-5c71c0aaa5c96683b56d2d8af0dfdac8424e41d2.tar.gz refinerycms-blog-5c71c0aaa5c96683b56d2d8af0dfdac8424e41d2.tar.bz2 refinerycms-blog-5c71c0aaa5c96683b56d2d8af0dfdac8424e41d2.zip |
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.
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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 |