title: Laravel apiResources how to call specific method
body: <p>I am trying to use Laravel apiResource but obviously there is something that I can't understand of the usage.
  In a simpe route you have something like that</p>
  
  <pre><code>    Route::get('user/{id}', 'UserController@show');
  </code></pre>
  
  <p>where <strong>show</strong> is the method you want to call.</p>
  
  <p>How can I specify which method to be called in apiResource?</p>
  
  <p>Currently I have</p>
  
  <pre><code>  Route::apiResources(['user' =&gt;'API\UserController']);
  </code></pre>
  
  <p>which call the <strong>store</strong> method in the <strong>UserController</strong>. I would like to specify another method to be called but for example</p>
  
  <pre><code> Route::apiResources(['user' =&gt;'API\UserController@show']);
  </code></pre>
  
  <p>is not going to call the <strong>show</strong> method</p>
  
  <p>So how can I specify which method to be called in apiResources?</p>