Hi Patrick,
Patrick Doyle wrote:
> Is there any way with RESTful routing to disable the
> .format routes?
> ("Why would you want to do that?", I hear the purists cry...)
>
> I would like to do it in order to simplify the routing table for a
> newbie first learning RoR.
Starting with someone just learning RoR, I''d rip _all_ the routing out
.
Then, stopping to show what new things we can do as a result of each, put
back the empty route to root, then the default routes, then start talking
about REST, then start looking at 2.x routing as the way Rails
defines/approaches REST. Rails 2.x works just fine with the routing, in
case you didn''t know. The :controller => x, :action => y model
of operation
still works.
HTH,
Bill
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---