Sijo,

That is not necessarily good advice. You don't always need (or want)
these default routes.

Even the comments produced automatically when creating a new Rails app
tell you this:

# Install the default routes as the lowest priority.
# ...You should consider removing them or commenting them out if
you're using named routes and resources.

On Jul 31, 5:24 am, Sijo Kg <[email protected]> wrote:
> 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 viahttp://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to