Forum: Ruby on Rails How to set homepage in Rails

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.
A470d209a6a3c30ad929c4907995a7d0?d=identicon&s=25 Near Cruise (nearcruise)
on 2008-12-31 03:34
Hi :

If I want http://localhost:3000/share to be homepage
http://localhost:3000/,
How can I do setting from rails ,please?

Thanks.

Cruise
A1b97dafea62b11e7b3bef338ce3fe83?d=identicon&s=25 Billy Hsu (cfc)
on 2008-12-31 03:43
(Received via mailing list)
Hi:
in config/routes.rb

map.root :controller => "share"

Happy new Year!

On Wed, Dec 31, 2008 at 10:34 AM, Near Cruise <
rails-mailing-list@andreas-s.net> wrote:

> --
> Posted via http://www.ruby-forum.com/.
>
> >
>


--
TWRUG Blog:
http://blog.rubyonrails.org.tw

CFC on Rails:
http://zusocfc.blogspot.com

Only two surfaces of a box:
http://blog.pixnet.net/zusocfc
A470d209a6a3c30ad929c4907995a7d0?d=identicon&s=25 Near Cruise (nearcruise)
on 2008-12-31 03:52
Hi:

Thank you very much.
Happy new year.

Cruise

Billy Hsu wrote:
> Hi:
> in config/routes.rb
>
> map.root :controller => "share"
>
> Happy new Year!
>
> On Wed, Dec 31, 2008 at 10:34 AM, Near Cruise <
> rails-mailing-list@andreas-s.net> wrote:
>
>> --
>> Posted via http://www.ruby-forum.com/.
>>
>> >
>>
>
>
> --
> TWRUG Blog:
> http://blog.rubyonrails.org.tw
>
> CFC on Rails:
> http://zusocfc.blogspot.com
>
> Only two surfaces of a box:
> http://blog.pixnet.net/zusocfc
This topic is locked and can not be replied to.