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!

Hi:

Thank you very much. Happy new year.

Cruise

Billy Hsu wrote: