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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A073d473b34f181a095f7b8f4be931aa?d=identicon&s=25 Mike (Guest)
on 2009-03-14 01: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.
6ef8cb7cd7cd58077f0b57e4fa49a969?d=identicon&s=25 Brian Hogan (Guest)
on 2009-03-14 01: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.
A073d473b34f181a095f7b8f4be931aa?d=identicon&s=25 Mike (Guest)
on 2009-03-14 01:47
(Received via mailing list)
Brian,

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.