Выводит ошибку:
BadMethodCallException: Method Illuminate\Routing\Route::withoutScopedBindings does not exist.
package.json
"require": {
"php": "^8.0.2",
"guzzlehttp/guzzle": "^7.2",
"intervention/image": "^2.7",
"laravel/framework": "^9.11",
"laravel/passport": "^10.4",
"laravel/sanctum": "^2.14.1",
"laravel/tinker": "^2.7"
},
Route::prefix('/{project}')->scopeBindings()->group(function() {
Route::prefix('/tariffs')->group(function() {
Route::post('/{tariff}', 'upgradeSubscription')->withoutScopedBindings()->can('tariffs', Project::class);
Route::post('/{tariff}/application', 'applicationTurnoverCommission')->withoutScopedBindings()->can('tariffs', Project::class);
});
});