
Search Our Site

Forum
Welcome, Guest
Custom Url in Ruby on Rails
by
nav
on 09/22/2009 19:30
Hi Everyone,
Try placing this below all other routes:
map.connect ':username', :controller => 'users', :action => 'show'
Then if that route gets executed (it isn't caught by another route higher up) it should call the "show" action and pass the username parameter.
Best Regards
Naveen Butola
