We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Methods like destroy require id, and can't get the actual model as a parameter.
destroy
id
A resolver would get the idAttribute from the model. For example:
Article.destroy(article)
will access article[Article.idAttribute] to find ID in case this is an object.
article[Article.idAttribute]
Thoughts?