I think its possible only thru routes.rb, cannot be done in controller,
As i see, if you have "link_name" in your database for each page on
http://site.com/homepage -> redirects to /site/1
http://site.com/about -> /site/3
in table of "menus" its looks
id --- link ----------- name --- ...
1 homepage Welcome to Homepage
3 about Everything about us
"link" field is used to be a "friendly" link and generated thru
i think is simpliest way.
look at http://eurobdc.com at their links.
Chris Gallagher wrote: