How to set homepage in Rails

Hi :

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

Thanks.

Cruise

Hi:
in config/routes.rb

map.root :controller => “share”

Happy new Year!

On Wed, Dec 31, 2008 at 10:34 AM, Near C. <
[email protected]> 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

Hi:

Thank you very much.
Happy new year.

Cruise

Billy H. wrote:

Hi:
in config/routes.rb

map.root :controller => “share”

Happy new Year!

On Wed, Dec 31, 2008 at 10:34 AM, Near C. <
[email protected]> 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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs