title: where to store a jbuilder template?
body: <p>I'm attempting to use a jbuilder template.</p>
  
  <p>Given the controller,</p>
  
  <pre><code>class Api::ReviewsController &lt; ApplicationController
    before_filter :authenticate_user!
    respond_to :json
  
    def create
      @review_request = ReviewRequest.new(review_request_params.merge(user_id: current_user.id))
      if @review_request.save
        render 'review_requests/review'
      else
        head :forbidden
      end
    end
  end
  </code></pre>
  
  <p>and I have the jbuilder template stored at <code>app/views/review_requests/review.json.jbuilder</code></p>
  
  <pre><code>json.review_request do
    json.(@review_request, :title,)
  end
  </code></pre>
  
  <p>I'm getting a template note found error.  </p>
  
  <pre><code>ActionView::MissingTemplate (Missing template review_requests/review with {:locale=&gt;[:en], :formats=&gt;[:html], :variants=&gt;[], :handlers=&gt;[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in:
    * "/Users/jd/Dropbox/application-code/antipattern/app/views"
    * "/Users/jd/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/devise-3.4.1/app/views"
    * "/Users/jd/Dropbox/application-code/antipattern"
    * "/"
  ):
    app/controllers/api/reviews_controller.rb:8:in `create'
  </code></pre>
  
  <p>Any thoughts on either where the correct place to store this template is or why rails isn't finding the template i'm using (if the storage location happens to be ok)? </p>