From dd484e23f9e65e42c30e8f7a64f7817d494711af Mon Sep 17 00:00:00 2001 From: Lupacescu Eduard Date: Fri, 16 Jun 2023 12:23:18 +0200 Subject: [PATCH] fix: change the route name (#568) --- src/Bootstrap/RoutesDefinition.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bootstrap/RoutesDefinition.php b/src/Bootstrap/RoutesDefinition.php index d409c230..9567f835 100644 --- a/src/Bootstrap/RoutesDefinition.php +++ b/src/Bootstrap/RoutesDefinition.php @@ -153,7 +153,7 @@ public function __invoke(string $uriKey = null) Route::put( '/{parentRepository}/{parentRepositoryId}/{repository}/{repositoryId}', \Binaryk\LaravelRestify\Http\Controllers\RepositoryUpdateController::class - )->name('relatable.update'); + )->name('relatable.updatePut'); Route::delete( '/{parentRepository}/{parentRepositoryId}/{repository}/{repositoryId}', \Binaryk\LaravelRestify\Http\Controllers\RepositoryDestroyController::class