Forum: Ruby on Rails redirect root

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
82a578052d304559f15180bdf56555d2?d=identicon&s=25 Tarscher (Guest)
on 2007-06-20 16:03
(Received via mailing list)
Hi all,

Can I redirect the root of my page to a contrroller/action? When I
type I don't want to see the Rails welcome screen but
want a redirect to a controller.

I found. map.index '', :controller => 'test', :action => 'index' in an
applicaction but it doesn't work for me.

744b6438d1457d332d1a8d431cc2b641?d=identicon&s=25 (Guest)
on 2007-06-20 16:19
(Received via mailing list)
You need to delete $RAILS_ROOT/public/index.html.
This topic is locked and can not be replied to.