Forum: Ruby on Rails How to disable REST in Rails Applications

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mike (Guest)
on 2009-03-14 02:40
(Received via mailing list)
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.
Brian H. (Guest)
on 2009-03-14 02:43
(Received via mailing list)
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.
Mike (Guest)
on 2009-03-14 02:47
(Received via mailing list)

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

Thank you
This topic is locked and can not be replied to.