title: Regular expression route constraint for a resource route
body: <p>Laravel offers the possibility to add regular expression constraint to a route like this:</p>
  
  <pre><code>Route::get('user/{name}', function($name)
  {
      //
  })
  -&gt;where('name', '[A-Za-z]+');
  </code></pre>
  
  <p>it is also possible to create multiple routes for a resource:</p>
  
  <pre><code>Route::resource('photo', 'PhotoController');
  </code></pre>
  
  <p>I want to add regular expression constraint only to the route <code>GET /photo/{id}</code></p>
  
  <p>is that possible?</p>