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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On Fri, Mar 13, 2009 at 7:39 PM, Mike <mguzman1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Brian, So in a new rails_apps just include the map.connect line and comment the default ones? Thank you On 13 mar, 18:42, Brian Hogan <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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. > > On Fri, Mar 13, 2009 at 7:39 PM, Mike <mguzm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > 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.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---