Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Incorrect method shown for Route.resource #58

Open
woubuc opened this issue May 1, 2020 · 0 comments
Open

Incorrect method shown for Route.resource #58

woubuc opened this issue May 1, 2020 · 0 comments
Assignees

Comments

@woubuc
Copy link
Contributor

woubuc commented May 1, 2020

In the screenshot on the docs page, the controller method to go with the DELETE verb is shown as delete. However, with the latest preview version of AdonisJS (5.0.0-preview-rc-1.5) this method is named destroy and trying to use delete results in errors.

The docs:

My output:

@RomainLanz RomainLanz self-assigned this May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants