Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 932 Bytes

File metadata and controls

17 lines (12 loc) · 932 Bytes

Extended Resource And Api Resource Router Laravel Restore And Force Delete

It turns out that for many systems, especially using laravel's sfot delete, the commands above are not enough, as at least two more commands are missing, namely:

  • restore
  • delete (deletes the item from the database)

How to add new routes to the Route api Resource command

Imagem

Usage

Route::customApiResource('produtcs', 'App\Http\Controllers\Api\Products');

More info and Document

More Info click here, go to us web site