79710162

Date: 2025-07-22 08:40:08
Score: 1
Natty:
Report link
var post_id = $(this).val();
$.ajax({
    ...
    url: "{{ route('admin_post.edit')}}/" + post_id,
    ...
});

You can just attach post_id to the ajax url prop.

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