79154482

Date: 2024-11-04 07:10:21
Score: 0.5
Natty:
Report link
1. Pass the Route URL as a JavaScript Variable in the Blade File:
<script>
    var routeUrl = "{{ route('columns.all') }}";
</script>
2. Add this routeUrl variable in your jquery ajax function: 
 url: routeUrl

It should be work now.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nilesh