title: Laravel beforeFilter in controller on POST request throws non-object exception
body: <p>I try to set some specific filter on all controller methods with:</p>
  
  <pre><code>public function __construct() {
  
     $this-&gt;beforeFilter(function(){
       //whathever
     });
  }
  </code></pre>
  
  <p>and it's working well on normal GET methods, problem occures when there is some POST method:</p>
  
  <pre><code>Route::post('settings/menu-order/{direction}', array(
                                              'as' =&gt; 'setting.menu-order.move',
                                              'uses' =&gt; function($direction) {
          $controller = new CMSSettingsController();
          return $controller-&gt;doMoveMenu($direction);
  }));
  </code></pre>
  
  <p>after click in a button which send POST with $direction, I'v got </p>
  
  <pre><code>Call to a member function filter() on a non-object 
  </code></pre>
  
  <p>in vendor/laravel/framework/src/Illuminate/Routing/Controller.php</p>
  
  <pre><code>protected function registerClosureFilter(Closure $filter)
  {
      $this-&gt;getFilterer()-&gt;filter($name = spl_object_hash($filter), $filter);
      return $name;
  }
  </code></pre>
  
  <p>If I use already registred filter it's working, so what's going on?
  I have few controllers which need specific function todo before running controller methods, so I can't make global universal filter. Is there any other good solution?</p>