Say I have a User Model. And a route such as this:
http://www.mycoolapp.com/users/1
How can I match http://www.mycoolapp.com/1
where 1 matches the first User, without using /users/1
.
Do you use a catch all? How is this accomplished in rails routing?