what is the best way to limit resourceful routes to a certain subset

Hi,

I would like use only few routes out of the 7 default. I am wondering what would be the most efficient solution: simple write match rules or use get for this...

thank you in advance.

I.

I would like use only few routes out of the 7 default. I am wondering

what would be the most efficient solution: simple write match rules or

use get for this…

You can define this in your routes.rb: resources :comments, :only => [:create, :destroy]

Markus

Markus,

fantastic, this is what I need! Thank you so much!

Regards, Istvan

Also have a look at the Rails Guide on Routing, it will tell you that and much more.

Colin