Making Jbuilder work with Rails 5 API Mode
<p>I want to use Jbuilder with Rails 5.0.0.beta1.1 in API mode. Out of the box, it doesn't work, even when creating the app/views directory.</p>

<p>For example, I have:</p>

<pre><code># app/controllers/tests_controller.rb
class TestsController &lt; ApplicationController
  # The requests gets inside the action
  def test
  end
end

# app/views/tests/test.json.jbuilder
json.test "It works!"
</code></pre>

<p>The error I'm getting is</p>

<p><code>No template found for TestsController#test, rendering head :no_content</code></p>

<p>I guess I have to change some things in the config files. What do I have to do?</p>