Hey,

I have a social network web app with ruby on rails and users can see
their profile like this: /profiles/2-admin
Now i want to make an alias or something with the route "/me" so it
would show the same as profiles/2-admin

so when i go to this: http://localhost:3000/me it shows me the same as
http://localhost:3000/profiles/2-admin
so the "me" would show the info from the currently logged in user!

Ho can i do that?

I have tried several things, but nothing succeeded..

Thank you,

Wouter

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