title: How to provide choices for Laravel route parameter
body: <p>What I'm trying to accomplish is, I have a route which accepts a parameter named <code>type</code> and It accepts any value now. But I want to provide choices to accept value from, If matches the route works, otherwise It throws Not found error.</p>
  
  <p>Choices are:</p>
  
  <ol>
  <li>retweet</li>
  <li>favorite</li>
  <li>tweet</li>
  </ol>
  
  <p>Code:</p>
  
  <pre class="lang-php prettyprint-override"><code>Route::get('/activity/{type}/status','ActivitiesController@status');
  </code></pre>
  
  <p>ActivitiesController.php</p>
  
  <pre class="lang-php prettyprint-override"><code>class ActivitiesController extends Controller
  {
      public function status($type, Request $request)
      {
          return $request-&gt;all();
      }
  }
  </code></pre>