Commit 477b1e23

mo khan <mo@mokhan.ca>
2013-07-02 06:35:35
make seo friendly paging links for the tutorials tags pages
1 parent c50b9d5
Changed files (1)
config/routes.rb
@@ -6,7 +6,9 @@ Cake::Application.routes.draw do
   resources :tutorials do
     get 'page/:page', :action => :index, :on => :collection
   end
-  resources :tutorial_tags, :only => [:index, :show], :path => :tt
+  resources :tutorial_tags, :only => [:index, :show], :path => :tt do
+    get ':id/page/:page', :action => :show, :on => :collection
+  end
 
   # /creations
   resources :creations do