Modified: branches/gsoc10-mpwa/mpwa/config/routes.rb (76490 => 76491)
--- branches/gsoc10-mpwa/mpwa/config/routes.rb 2011-02-25 18:31:41 UTC (rev 76490)
+++ branches/gsoc10-mpwa/mpwa/config/routes.rb 2011-02-25 19:08:43 UTC (rev 76491)
@@ -1,10 +1,9 @@
ActionController::Routing::Routes.draw do |map|
resources :categories, :only => [:index] do
+ match '/ports/page/:page', :to => 'ports#index', :page => :page
resources :ports, :only => [:index, :show] do
resources :comments, :only => [:create, :destroy]
end
-
- match '/ports/page/:page', :to => 'ports#index', :as => :ports, :page => :page
end
match '/ports/page/:page', :to => 'ports#index', :page => :page