Answers for "laravel get route method"

PHP
0

laravel route Accessing The Current Route

$route = Route::current();

$name = Route::currentRouteName();

$action = Route::currentRouteAction();
Posted by: Guest on July-24-2021
1

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

Code answers related to "laravel get route method"

Browse Popular Code Answers by Language