title: Laravel Before Filter in the Controller with arguments
body: <p>I have some troubles with filters in my controller and there parameters. Maybe one of you can help me out. Thank you.
  I have a controller similar to this one:</p>
  
  <pre><code>class Test extends Base_Controller
  {
  
      public function __construct()
      {
          parent::__construct();    
          $this-&gt;filter('before', 'permission:destroy|auth')-&gt;only(array('show'));        
      }
      public function action_show($id)
      {
      }
  </code></pre>
  
  <p>and I defined a filter like this:</p>
  
  <pre><code>Route::filter('permission', function($permission)
  {
      echo $permisson;
  </code></pre>
  
  <p>If I call now the controller, the <code>$permission</code> value of my filter is the <code>$id</code> which was passed through <code>action_show($id)</code> method. But when I have a Controller Method without a paramter everything works fine. How can I always get the filter parameter instead of the method argument?</p>
  
  <p>Thanks for your help!</p>