title: Laravel 4 authentication. Restrict access to some functions of a resource but not all
body: <p>I have this blog resource which has the usual CRUD methods.(index, create, store, show, edit, update, destroy).</p>
  
  <p>I have the following route in my routes.php:</p>
  
  <pre><code>Route::resource('blog', 'PostsController');
  </code></pre>
  
  <p>but I want to restrict all but index and show.
  so I have</p>
  
  <pre><code>Route::get('blog', 'PostsController@index');
  Route::group(array('before' =&gt; 'auth'), function()
  {
      Route::resource('blog', 'PostsController');
  });
  </code></pre>
  
  <p>which is fine for index but I don't know how to route the show method ? Or is there another  way? Instead of routing the resource should I route every URI individually and put the ones I want restricted in my restricted access route?</p>
  
  <p>Cheers</p>