From eac7a05f9340435a1ed5b17a01015559d8a4c3e1 Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Wed, 16 Feb 2011 00:13:00 -0600 Subject: Add route for uncategorized posts index in blog admin --- config/routes.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index 8664468..73d4a11 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,7 +11,9 @@ Refinery::Application.routes.draw do scope(:path => 'refinery', :as => 'admin', :module => 'admin') do scope(:path => 'blog', :as => 'blog', :module => 'blog') do root :to => 'posts#index' - resources :posts + resources :posts do + get 'uncategorized', :on => :collection + end resources :categories -- cgit v1.2.3