Is it possible to give a controller or view for the root directory or am I limited to putting files in public/ for the root?
on 2007-03-03 06:51
on 2007-03-03 07:04
I usually have a controller I call 'main', with an action called 'index' for my home page. Then I have a named route: map.home '/', :controller => 'main', :action => 'index' I can add my About, Terms and Conditions, and other random pages that don't fit anywhere else in the main controller. On Mar 2, 9:51 pm, Onion Knight <rails-mailing-l...@andreas-s.net>
on 2007-03-03 23:23
That works fine, thanks.