#329

In your web.php interchange the order of create and show method.

Route::get(‘/posts/create’, [PostController::class, ‘show’])-> name(‘posts.create’);

Route::get(‘/posts/{postid}’, [PostController::class, ‘show’])-> name(‘posts.show’);

Since since the route posts/{postid} comes before /posts/create , it will treat the string ‘create’ as an id thats why will not be able to find the file and throw 404 Not Found