Answers for "laravel call controller method without route"

2

call laravel route js

function confirmDelete(id){
    let url = "{{ route('getDeleteRequest', ':id') }}";
    url = url.replace(':id', id);
    document.location.href=url;
}
Posted by: Guest on December-09-2020
0

Laravel route not calling function of controller

//in the terminal run
composer dump-autoload
Posted by: Guest on April-29-2020

Code answers related to "laravel call controller method without route"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language