We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f17351 commit 2e3a8c2Copy full SHA for 2e3a8c2
routes/web.php
@@ -26,7 +26,7 @@
26
27
Route::get('/posts/editpost/{post}', [PostController::class, 'edit'])->name('editform');
28
29
-//this is while using Eloquent Model as parameter in show() rather that $id variable
+//this is while using Eloquent Model as parameter in show() rather that $id variable to customize the key
30
Route::get('/posts/post/{post:id}', [PostController::class,'show'])->name('showpost');
31
32
Route::get('/posts/{post:id}', [PostController::class,'destroyed'])->name('deletepost');
0 commit comments