aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-08-09 21:06:54 +1200
committerPhilip Arndt <parndt@gmail.com>2010-08-09 21:06:54 +1200
commit54a0f6ebff34213422d7a5d6ac39c9b7b8dbbe45 (patch)
tree62999b848f1c9c2054627901bc1eecc4a8651fb2 /config/routes.rb
parent832a0e4866cc0dd33dc6c1c4d5dc75e35152e553 (diff)
downloadrefinerycms-blog-54a0f6ebff34213422d7a5d6ac39c9b7b8dbbe45.tar.gz
refinerycms-blog-54a0f6ebff34213422d7a5d6ac39c9b7b8dbbe45.tar.bz2
refinerycms-blog-54a0f6ebff34213422d7a5d6ac39c9b7b8dbbe45.zip
Set up menu and what is to come.
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4722ce3..7f1bf18 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -3,7 +3,10 @@ ActionController::Routing::Routes.draw do |map|
map.namespace(:admin, :path_prefix => 'refinery') do |admin|
admin.namespace :blog do |blog|
- blog.resources :posts, :collection => {:update_positions => :post}
+ blog.resources :posts
+ blog.resources :categories
+ blog.resources :comments, :collection => {:approved => :get, :rejected => :get}
+ blog.resources :settings, :collection => {:update_notified => [:get, :post], :moderation => :get}
end
end
end