'/admin/additional'], function () { Route::put('news/workflow/{additional_allowance}/{step}', 'AdditionalAllowanceAdminController@putWorkflow'); 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('news/workflow/{additional_allowance}/{step}/{user}', 'AdditionalAllowanceController@getWorkflow'); Route::get('/', 'AdditionalAllowancePublicController@index'); Route::get('/{slug?}', 'AdditionalAllowancePublicController@show'); });