logo       

[Rails] Re: Trouble understanding Routes: msg#03239

RubyonRailsTalk

Subject: [Rails] Re: Trouble understanding Routes


Hi brianp

Your default routes should have the least priority Means

map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'

These should be at the very bottom of routes.rb

Sijo
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise