swisnl/json-api-server

Route and controller method mismatch

Closed this issue · 1 comments

ERROR: Method App\Http\Controllers\Api\SampleController::destroy does not exist.

Routes have destroy(), but controllers have delete().

Thanks for the issue, i've made a PR with a fix, it will be merged shortly.