'admin'], function () { Route::resource('/ico_setting/ico_setting', 'Icosettings\IcoSetting\Http\Controllers\IcoSettingAdminController'); }); // User routes for ico_setting Route::group(['prefix' => 'user'], function () { Route::resource('/ico_setting/ico_setting', 'Icosettings\IcoSetting\Http\Controllers\IcoSettingUserController'); }); // Public routes for ico_setting Route::get('ico_setting/ico_setting', 'Icosettings\IcoSetting\Http\Controllers\IcoSettingPublicController@index'); Route::get('ico_setting/ico_setting/{slug?}', 'Icosettings\IcoSetting\Http\Controllers\IcoSettingPublicController@show');