Variable PHP de Blade Laravel Concatenate JavaScript Variable
// Imagine the `api.page` route value is `/controller/{page}`:
ajax: "{{ route(api.page) }}".replace("{page}", page);
Adminson