title: Rails "Template is missing" error, though it exists (3.2.1)
body: <p>I just started using Rails and am not sure what I'm not doing correctly.</p>
  
  <p>In routes.rb I have </p>
  
  <pre><code>resources :pages
  </code></pre>
  
  <p>In app/controllers/pages_controller.rb I have</p>
  
  <pre><code>class PagesController &lt; ApplicationController
    def index
    end
  end
  </code></pre>
  
  <p>I have a layout in app/views/layouts/application.html.erb and a template in app/views/home/pages/index.html.erb which I want rendered when I request "/pages". However, I get the error</p>
  
  <blockquote>
    <p>Template is missing</p>
    
    <p>Missing template pages/index, application/index with {:locale=>[:en],
    :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. Searched in:
    * "/###/app/views"</p>
  </blockquote>
  
  <p>I've been using stackoverflow for ages without posting, but so many different things seem to trigger this error that it's hard to find answers for my particular case. Also I'm a noob :3 Please help!</p>