Issue a rails site, domain name how is mapped to the home page!!!!

For example, my domain name WWW.123.COM in the address bar enter after open my INDEX this page. Where the configuration.

Started by Nick at February 12, 2016 - 12:35 PM

read the book "Agile Web Development with Rails, 2nd edition", chapter 27

Posted by Timothy at February 13, 2016 - 1:10 PM

This?

Posted by Arlen at February 19, 2016 - 1:19 PM

The config directory routes.rb

# You can have the root of your site routed by hooking up ''
# -- just remember to delete public/index.html.
# map.connect '', :controller => "welcome"

Posted by Victoria at March 01, 2016 - 1:40 PM

I look!

Posted by Opie at November 22, 2016 - 6:57 AM

The config directory routes.rb

# Delete the public folder under the index.html file.
map.connect '', :controller => "welcome",:action=>"Myindex.rhtml"

Posted by Miriam at November 27, 2016 - 7:15 AM

The config directory routes.rb

# You can have the root of your site routed by hooking up ''
# -- just remember to delete public/index.html.
# map.connect '', :controller => "welcome"
The last line # removed
map.connect 'www.123.com', :controller => "welcome"

Posted by Nick at December 12, 2016 - 8:06 AM

The config directory routes.rb

# Delete the public folder under the index.html file.
map.connect '', :controller => "welcome",:action=>"Myindex.rhtml

Posted by Clarence at December 23, 2016 - 8:30 AM

A bit difficult to Oh

Posted by Albert at December 26, 2016 - 9:24 AM

Add in the "project name \config" routes.rb file in this directory:
map.root :controller => "home"

And delete the public directory in the index.html
So OK

Posted by Heidi at January 05, 2017 - 11:11 AM

Go to config/routes.rb to open the corresponding program on OK!

Posted by Devin at January 06, 2017 - 10:20 AM

Deletion of public under index.html
Root in config/routes.rb: to => 'controller/action'

Posted by Hogan at January 06, 2017 - 11:58 AM

Posted by Boyd at January 09, 2017 - 9:59 AM

A detailed explanation of agile web development of the road ". Another note Rails upgrade caused changes.

The official document

Company ROR developer, interested parties please contact QQ:87895224; personal site www.88lei.com;
The company's Web site at www.ckingiot.com

Posted by Kim at January 10, 2017 - 10:18 AM

To achieve this, seemingly in the configuration of the DNS, I was just learning rails, but those methods I tried not, which master can help one or two

Posted by Reginald at January 11, 2017 - 10:09 AM

To achieve this, seemingly to configure DNS to it, I just started to learn rails, but those methods I tried not, which master can help one or two

Posted by Reginald at January 11, 2017 - 10:52 AM