As far as I know, you cannot, but you can imitate this using something like this (route filtering):
public function __construct()
{
$this->beforeFilter('checkParam', array('only' => array('getEdit', 'postUpdate')));
}
This is an example of route filtering using the constructor, and here I filter only two methods (you can use exceptor nothing at all) and declared a filter in the filters.phpfile as follows:
Route::filter('checkParam', function($route, $request){
$param1 = $route->parameter('one');
if(!preg_match('/\d/', $param1)) {
App::abort(404);
throw new Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
}
});
( parameters , ), , NotFoundHttpException.
, :
App::missing(function($exception){
});