Hello,

Just a single problem i can't solve. The scenario...

I have a controller called "places" but i don't want to link the users
to /places/whatever, i want something like /no/whatever. How to
achieve this?

I have in my routes.rb:

map.resources :no, :controller => "places",

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

My problem is that i don't want to have 2 urls pointing to the same
page.  If I type "/places/whatever" i got the same as if i type "/no/
whatever"

Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~
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