diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 83b9364..4deeb4e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -13,7 +13,10 @@ scope(:path => 'blog', :as => 'blog', :module => 'blog') do root :to => 'posts#index' resources :posts do - get 'uncategorized', :on => :collection + collection do + get :uncategorized + get :tags + end end resources :categories |