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.
sed_nivo (Guest)
on 2006-05-15 17: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.
Jón B. (Guest)
on 2006-05-15 17: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 <removed_email_address@domain.invalid> wrote:
> Rails mailing list
> removed_email_address@domain.invalid
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


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