aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
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 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