Friday, May 29, 2009

Customize Root

To display your own index page in http://localhost:3xxx.

In config/routes.rb for instance,
map.root :controller => 'posts'

And be sure to delete the index page in public/index.html

0 comments:

Post a Comment