Rails.application.routes.draw do
get 'home/index'
end
Hope this helps.
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.