Forum: Ruby on Rails Controller to main page

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1cc0dba075e6d12b3f48fb3cb170f54a?d=identicon&s=25 sed_nivo (Guest)
on 2006-05-15 15:38
Hi,

How to set a controller to main page in site (www.address.com)?
Is it possible?
Maybe is other way to develop a main page in site.
30ee518e6fdc5b07e060775b5a542bdb?d=identicon&s=25 Jón Borgþórsson (jongretar)
on 2006-05-15 15:43
(Received via mailing list)
First remove the public/index.html page.

Then change the default route in config/routes.rb. Info on setting the
default route is in there.

More info on routes at: http://manuals.rubyonrails.com/read/chapter/65

On 5/15/06, sed_nivo <sed.nivo@gmail.com> wrote:
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
This topic is locked and can not be replied to.