How to pass multiple parameter for laravel route in jquery
var url = "{{ route('order-detail',':slug') }}"; console.log(url); I want to add one more parameter id after slug: var url = "{{ route('order-detail',':slug',':id') }}"; console.log(url); This is the error: Missing required parameter for [Route: order-detail] [URI: orders/detail/{slug}/{id}] [Missing parameter: id]. (View:…