我想从“auth.sentry”过滤器中排除控制器中的某些方法。在 Laravel 4 中是否有更有效的方法来做到这一点。
Route::get('student/login','StudentController@getLogin');
Route::post('student/login','StudentController@postLogin');
Route::get('student/register','StudentController@getRegister');
Route::post('student/register','StudentController@postRegister');
Route::group(array('before'=>'auth.sentry'), function(){
Route::controller('student','StudentController');
});