From a6b6a0da3477719e0109ad6175b16f04d37b2550 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Tue, 10 Aug 2010 16:17:03 +1200 Subject: Better settings, update notified has a form but doesn't yet work. Created script files but not using them yet. --- config/routes.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index 7f1bf18..2478f1b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,8 +5,14 @@ ActionController::Routing::Routes.draw do |map| admin.namespace :blog do |blog| blog.resources :posts blog.resources :categories - blog.resources :comments, :collection => {:approved => :get, :rejected => :get} - blog.resources :settings, :collection => {:update_notified => [:get, :post], :moderation => :get} + blog.resources :comments, :collection => { + :approved => :get, + :rejected => :get + } + blog.resources :settings, :collection => { + :notification_recipients => [:get, :post], + :moderation => :get + } end end end -- cgit v1.2.3