diff options
author | Joe Sak <joe@joesak.com> | 2011-02-16 00:13:00 -0600 |
---|---|---|
committer | Joe Sak <joe@joesak.com> | 2011-02-16 00:13:00 -0600 |
commit | eac7a05f9340435a1ed5b17a01015559d8a4c3e1 (patch) | |
tree | f303d2952f2b5c3823ae9f12f451edf2799e287c /config | |
parent | f520d6c6e73407386f36b25da2595ff070da8c7a (diff) | |
download | refinerycms-blog-eac7a05f9340435a1ed5b17a01015559d8a4c3e1.tar.gz refinerycms-blog-eac7a05f9340435a1ed5b17a01015559d8a4c3e1.tar.bz2 refinerycms-blog-eac7a05f9340435a1ed5b17a01015559d8a4c3e1.zip |
Add route for uncategorized posts index in blog admin
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 3 insertions, 1 deletions
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 |