match '/' => "home#index", :as => :home
(
this assumes your rails app has been created with
rails generate controller home index
)
you can then create a link using linked_to
<%= link_to "Home", home_path %>
The point here is we've created the named link as "home" but the path is referred to home_path.