title: Laravel Response::json not returning JSON properly?
body: <p>Routes registered in <code>app/routes.php</code></p>
  
  <pre><code>Route::resource('users', 'UsersController',
      array('except' =&gt; array('new', 'update')));
  
  Route::post('users/authenticate', array('as' =&gt; 'authenticate', 'uses' =&gt; 'UsersController@authenticate'));
  
  Route::get('users/is_authenticated', array('as' =&gt; 'authenticated', 'uses' =&gt; 'UsersController@is_authenticated'));
  </code></pre>
  
  <p>The method is_authenticated is not returning JSON, but when I put the <code>Response::json()</code> in the <code>index</code> method it returns the JSON schema.</p>
  
  <p>Here is my <code>is_authenticated</code> method:</p>
  
  <pre><code>public function is_authenticated()
  {
      return Response::json(['authenticated' =&gt; Auth::check()]);
  }
  </code></pre>
  
  <p>What's going wrong here?  I ran <code>php artisan routes</code> and it returns this for the route:</p>
  
  <p><code>GET|HEAD api/users/is_authenticated | authenticated     | UsersController@is_authenticated</code></p>
  
  <p>I don't get a 404 Not Found when visiting the page, but there is no content.  What's the problem?</p>
  
  <p>Edit: routes are prefixed with <code>api</code></p>