config/routes.rb in refinerycms-blog-0.9.8.dev1 vs config/routes.rb in refinerycms-blog-0.9.8.0.rc1

- old
+ new

@@ -1,12 +1,20 @@ ActionController::Routing::Routes.draw do |map| - map.resources :blog_posts, :as => :blog + map.blog_post '/blog', :controller => :blog_posts, :action => :index + map.blog_post '/blog/:id', :controller => :blog_posts, :action => :show + map.blog_category '/blog/categories/:category_id', :controller => :blog_posts, :action => :index 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} - 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