'admin'], function () { Route::resource('/photo_setting/photo_settings', 'Apm\PhotoSetting\Http\Controllers\PhotoSettingsAdminController'); }); // User routes for photo_settings Route::group(['prefix' => 'user'], function () { Route::resource('/photo_setting/photo_settings', 'Apm\PhotoSetting\Http\Controllers\PhotoSettingsUserController'); }); // Public routes for photo_settings Route::get('photo_setting/photo_settings', 'Apm\PhotoSetting\Http\Controllers\PhotoSettingsPublicController@index'); Route::get('photo_setting/photo_settings/{slug?}', 'Apm\PhotoSetting\Http\Controllers\PhotoSettingsPublicController@show');