7 months ago

route with id showing 404

Posted 7 months ago by eusapxai

I have pass the id from view to controller and when i open the link it shows 404.

my route

Route::get('/user/order-detail/{$orderid}', '[email protected]')->name('user.orderdetail');

my function in UserController

public function orderDetail($orderid)
        return view('user.orderdetail', ['orderid' => $orderid]);

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