sebastienheyd / boilerplate

Laravel AdminLTE 3 Boilerplate package with blade components, users, roles and permissions management
MIT License
219 stars 66 forks source link

User table delete button not working #25

Closed Plasto13 closed 4 years ago

Plasto13 commented 4 years ago
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
The GET method is not supported for this route. Supported methods: PUT, PATCH, DELETE.
http://localhost:8000/admin/users/3

please change in lists.blade.php

 $('#users-table').on('click', '.destroy', function (e) {
                e.preventDefault();

to

$('#users-list').on('click', '.destroy', function (e) {
                e.preventDefault();
sebastienheyd commented 4 years ago

Thanks ! Fixed in 7.2.4