set_route_guard('web').'/plan'], function () { Route::resource('plan', 'PlanResourceController'); }); // Resource routes for plan Route::group(['prefix' => set_route_guard('web').'/plan'], function () { Route::resource('plan', 'PlanResourceController'); });