title: Rails looking for template for JSON requests
body: <p>In my <code>routes.rb</code> I have:</p>
  
  <pre><code>resources :workouts
  </code></pre>
  
  <p>In my workouts controller I have:</p>
  
  <pre><code>def show
    respond_to do |format|
      format.html
      format.json { render :json =&gt; "Success" }
    end
  end
  </code></pre>
  
  <p>But when I go to /workouts/1.json, I receive the following:</p>
  
  <blockquote>
    <h2>Template is missing</h2>
    
    <p>Missing template workouts/show, application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :coffee]}. Searched in: * "/home/rails/app/views"</p>
  </blockquote>
  
  <p>Which appears to show that the format is what it should be but it's still searching for a view. This same code functions in other controllers with identical setups just fine. Also, going to /workouts/1 for the html view seems to work just fine, though it also renders the html view properly when the <code>format.html</code> is removed.</p>