Does anyone know of any way in Laravel 4 which combines these 2 lines into one?
Route::get(\'login\', \'AuthControl
Route::any('login', 'AuthController@login');
and in controller:
if (Request::isMethod('post')) { // ... this is POST method } if (Request::isMethod('get')) { // ... this is GET method } ...