Commit bf7aa1b6

mo khan <mo@mokhan.ca>
2013-07-02 06:29:36
make seo friendly paging links to the creation tags
1 parent d7314a0
Changed files (1)
config/routes.rb
@@ -29,7 +29,7 @@ Cake::Application.routes.draw do
 
   # /tags
   resources :creation_tags, :only => [:index, :show], :path => :t do
-    get 'page/:page', :action => :show
+    get ':id/page/:page', :action => :show, :on => :collection
   end
   get 'tags/:id' => 'creation_tags#show'