'admin/additional'], function () { Route::resource('additional_allowance', 'AdditionalAllowanceAdminController'); }); // User routes for additional_allowance Route::group(['prefix' => 'user/additional'], function () { Route::resource('additional_allowance', 'AdditionalAllowanceUserController'); }); // Public routes for additional_allowance Route::group(['prefix' => 'additionals'], function () { Route::get('/', 'AdditionalAllowancePublicController@index'); Route::get('/{slug?}', 'AdditionalAllowancePublicController@show'); });