Visitors are also reading...
← PreviousNext →

Setting welcome page in Rails

09 Mar 2010

In Java/Tomcat I have a web.xml to define a "welcome-page" which usually points to some index.jsp. This means that if my root URL is it will show the page .

In Rails it works like this :

map.root :controller => "categories"

(for example). Read more about it here

← PreviousNext →