I want most, but not all routes created by map.resources

How do I do that?

I'm my case, I don't want GET /resource/:id;edit and DELETE / resource/:id

;edit is not needed for my app, and DELETE is not allowed.

Do I have create all the routes by hand? Or can I pass some kind of except parameter to map.resources?

Ryan

You can pass restricted: :restricted=>/new|create/

I agree.

Another approach is to go ahead an proactively implement controller actions for those that shouldn't be called, and return a 401 status or something appropriate, by calling the "head" method to return a status code.

Jeff

This is the approach I have taken. Thanks for the inputs.