title: Routing Error :: No route matches [GET] "/static_pages/about"
body: <p>I am getting this error while going through the tutorial by Michael Hartl.
  Section 5.3.2 (Rails routes).</p>
  
  <p>Content of my <strong>routes.rb</strong> file is</p>
  
  <pre><code>SampleApp::Application.routes.draw do
     root  'static_pages#home'
    match '/help',    to: 'static_pages#help',    via: 'get'
    match '/about',   to: 'static_pages#about',   via: 'get'
    match '/contact', to: 'static_pages#contact', via: 'get'
  end
  </code></pre>
  
  <p>My <strong>rspec</strong> at static_pages is successful ..I have followed every instructions but 
  still getting this error while trying to access any of the pages at `</p>
  
  <pre><code>http://localhost:3000/static_pages/home
  http://localhost:3000/static_pages/about
  http://localhost:3000/static_pages/contact
  </code></pre>
  
  <p>This is the error i am getting on these pages</p>
  
  <p><strong>Action Controller:Exception caught</strong></p>
  
  <pre><code>Routing Error
  No route matches [GET] "/static_pages/about"
  
  Rails.root: /home/abhinay/rails_projects/sample_app
  
  Application Trace | Framework Trace | Full Trace
  Routes
  
  Routes match in priority from top to bottom
  
  
  
    Helper     HTTP Verb  Path             Controller#Action
      Path / Url          
      root_path     GET       /                    static_pages#home
      help_path     GET      /help(.:format)   static_pages#help
      about_path    GET      /about(.:format)  static_pages#about
      contact_path  GET      /contact(.:format)    static_pages#contact
  </code></pre>