Hi,
In my new Rails project I have a controller "static" that delivers various pages to the viewer. However, the URLs Rails generates are unnecessarily long, e.g. "www.my_project.com/static/welcome" or "www.my_project.com/static/contact".
How can I get Rails to simply hide the controller name, if the controller is "static". If the controller name is NOT "static", it should be displayed as usual.
Can anybody help?
Cheers!




Bookmarks