Hi,

I am trying to list companies in a catalog. I have set following route
for that

map.connect 'company/:company'
            :controller => 'community',
      :action => 'search'

Now I have ".com" as a part of the company name(Amazon.com), then my app
flags out an error stating:
no route found to match "/company-profile/amazon.com" with
{:method=>:get})

How can i avoid this?

Regards,
SG
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe "Railsfrance" de 
Google Groups.
Pour transmettre des messages à ce groupe, envoyez un e-mail à l'adresse 
[email protected]
Pour résilier votre abonnement envoyez un e-mail à l'adresse [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Répondre à