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

Resourceful Controllers using delete method instead of destroy #86

Closed
thetutlage opened this issue Jan 25, 2018 · 3 comments
Closed

Resourceful Controllers using delete method instead of destroy #86

thetutlage opened this issue Jan 25, 2018 · 3 comments

Comments

@thetutlage
Copy link
Member

From @bolt12 on January 21, 2018 19:1

I just noticed that if i create a new Controller using

adonis make:controller <name> --resource

it will create a new file with all route resources but the last one is called delete, and looking into the docs it should be destroy.

Copied from original issue: adonisjs/adonis-api-app#14

@ammezie
Copy link
Contributor

ammezie commented Jan 25, 2018

@thetutlage already working on this?

@RomainLanz
Copy link
Member

RomainLanz commented Jan 25, 2018

This is already fixed.

A PR was sent by @watzon on the 7 November 86e0021
Probably need to be released 😄

@ammezie
Copy link
Contributor

ammezie commented Jan 25, 2018

Awesome!!!

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

3 participants