No route matches "/home/index" with {:method=>:get}

I followed a tutorial to learn ruby on rails at
creating a
view and controller as “script/generate controller home index” and then
changed the contents of app/view/home/index.html.erb file according to
tutorial into one line as

Hello, Rails!

Now i started the server as script/server(successfully started) and when
navigate to localhost:3000/home/index, i got a error message which says

No route matches “/home/index” with {:method=>:get}

Please someone help to resolve.


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