First, rename the index.html file to something else.
Then:
map.root :controller => ''subject'', :action =>
''list''
-
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)
On Thu, May 28, 2009 at 6:06 PM, Mk 27
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
> Hi gang!
>
> I want / to point to app/subject/list instead of public/index.html. I
> added this to routes.rb
>
> map.connect '':controller/:action/:id'', :controller =>
''subject'', :action
> => ''list''
>
> But that does not work...
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>