vishnu_sadanandan
1 year ago

The requested URL /workspace/daily-stuff/public/user/12 was not found on this server.

Posted 1 year ago by vishnu_sadanandan

The requested URL /workspace/daily-stuff/public/user/12 was not found on this server. My routes/web.php

Route::get('/', function () { return view('welcome'); }); Route::get('user/{id}', 'UserController');

in my UserController.php

public function show($id)
{
    $car = $id;
    return view('user.show', array('car' => $car));
}

please help me

Please sign in or create an account to participate in this conversation.