variabel javascript variabel php variabel concatenate variabel

// Imagine the `api.page` route value is `/controller/{page}`:
ajax: "{{ route(api.page) }}".replace("{page}", page);
Adminson