Ruby on Rails Monday, November 28, 2016

i am new in ruby and just developing my first app, i am following a tutorial on youtube, when i run the server by localhost:3000 it shows me "Yay! You're on Rails!". i don't know how to route it to index.html file in my home where i start developing my app. please need help i am new here.

here is my routes.rb file


Rails.application.routes.draw do
get 'home/index'

For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html

end

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a72c53da-84f9-4b46-896b-9adb0addde38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment