group
Route::group($param, $action);Route::group(['prefix' => 'profile', 'middleware' => ['auth']], function () {
Route::get("/", ['ProfileController@index']);
Route::post('/', ['ProfileController@update']);
Route::post('/changepass', ['ProfileController@changePass']);
Route::post('/delete', ['ProfileController@delete']);
});Last updated