How to disable REST in Rails Applications


#1

Yes, I know that REST is the new way to program in Rails, but I really
likes the old-fashion way, How can I disable REST so I can expose very
easily methods in my controller?

Thank you.


#2

You don’t have to disable anything. Don’t use map.resources.

The original

map.connect :controller/:action/:id

route should be all you need if you wanna go oldschool.


#3

Brian,

So in a new rails_apps just include the map.connect line and comment
the default ones?

Thank you