[69140] branches/gsoc10-mpwa/config/routes.rb

jrozner at macports.org jrozner at macports.org
Thu Jun 24 16:46:40 PDT 2010


Revision: 69140
          http://trac.macports.org/changeset/69140
Author:   jrozner at macports.org
Date:     2010-06-24 16:46:40 -0700 (Thu, 24 Jun 2010)
Log Message:
-----------
removed undeeded routes

Modified Paths:
--------------
    branches/gsoc10-mpwa/config/routes.rb

Modified: branches/gsoc10-mpwa/config/routes.rb
===================================================================
--- branches/gsoc10-mpwa/config/routes.rb	2010-06-24 22:44:24 UTC (rev 69139)
+++ branches/gsoc10-mpwa/config/routes.rb	2010-06-24 23:46:40 UTC (rev 69140)
@@ -1,5 +1,5 @@
 ActionController::Routing::Routes.draw do |map|
-  map.resources :ports do |port|
+  map.resources :ports, :except => [:edit, :update] do |port|
     port.resources :comments, :except => [:index, :show, :new]
   end
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100624/554c7c97/attachment.html>


More information about the macports-changes mailing list