title: Laravel RESTful Controller - Params Before Action Name
body: <p>I have <code>UsersController</code> which is RESTful controller, there are some functions within it.</p>
  
  <p>inside <code>UsersController.php</code>:</p>
  
  <pre><code>function postOutletVisit($id){
     // some code
  }
  </code></pre>
  
  <p>inside <code>routes.php</code> :</p>
  
  <pre><code>Route::controller('users', 'UsersController');
  </code></pre>
  
  <p>with this route I can access <code>postOutletVisit</code> action like this:</p>
  
  <p><code>[POST] mydomain.com/users/outlet-visit/{id}</code></p>
  
  <p>But I'm wondering if it's possible to convert that link to:</p>
  
  <p><code>[POST] mydomain.com/users/{id}/outlet-visit</code></p>
  
  <p>I know that I can do this by defining routes for every action like:</p>
  
  <p><code>Route::post('users/{id}/outlet-visit', 'UsersController@outletVisit')</code></p>
  
  <p>But this is not suitable for me because there are plenty of actions inside UsersConroller and I will loose the greate naming convenient for actions (first part of action name determines the method used in it, instead of defining the methods separately in <code>routes.php</code> file)</p>