StackPuz Forum

Laravel delete view

Generated Code Laravel

Laravel does not have the delete view, it just shows a delete confirm dialog. Why is it not like other frameworks?

On Wed, 03 Apr 2024 01:12:55 by Lee Yang
Comment 1

We follow the framework's best practice. The Laravel Resource Controllers do not provide the GET method for the delete view, so you will see every laravel web app will use a delete confirm dialog. You can see the details from this link https://laravel.com/docs/11.x/controllers#actions-handled-by-resource-controllers.

On Thu, 04 Apr 2024 11:04:46 by Admin

*To create the code section, use <code>your code</code> and to create the link, use <a>your link url</a>