title: No route matches GET root_path
body: <p>My code for _header.html.erb:</p>
  
  <pre><code>&lt;header class="navbar navbar-fixed-top navbar-inverse"&gt;
    &lt;div class="container"&gt;
      &lt;%= link_to "sample app", 'root_path', id: "logo" %&gt;
      &lt;nav&gt;
        &lt;ul class="nav navbar-nav navbar-right"&gt;
          &lt;li&gt;&lt;%= link_to "Home",   'root_path' %&gt;&lt;/li&gt;
          &lt;li&gt;&lt;%= link_to "Help",   'help_path' %&gt;&lt;/li&gt;
          &lt;li&gt;&lt;%= link_to "Log in", '#' %&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/nav&gt;
    &lt;/div&gt;
  &lt;/header&gt;
  </code></pre>
  
  <p>The "root_path" above should be evaluating to "/" but it doesn't. I am using the michael hartl tutorial</p>
  
  <p>routes.rb</p>
  
  <pre><code>Rails.application.routes.draw do
    root 'static_pages#home'
    get  '/help',    to: 'static_pages#help'
    get  '/about',   to: 'static_pages#about'
    get  '/contact', to: 'static_pages#contact'
    get  '/signup',  to: 'users#new'
    post '/signup',  to: 'users#create'
    resources :users
  end
  </code></pre>
  
  <p>rake routes:</p>
  
  <pre><code>Richard:sample_app richard$ rake routes
     Prefix Verb   URI Pattern               Controller#Action
       root GET    /                         static_pages#home
       help GET    /help(.:format)           static_pages#help
      about GET    /about(.:format)          static_pages#about
    contact GET    /contact(.:format)        static_pages#contact
     signup GET    /signup(.:format)         users#new
            POST   /signup(.:format)         users#create
      users GET    /users(.:format)          users#index
            POST   /users(.:format)          users#create
   new_user GET    /users/new(.:format)      users#new
  edit_user GET    /users/:id/edit(.:format) users#edit
       user GET    /users/:id(.:format)      users#show
            PATCH  /users/:id(.:format)      users#update
            PUT    /users/:id(.:format)      users#update
            DELETE /users/:id(.:format)      users#destroy
  </code></pre>