Skip to content

Controller before hooks need to allow the hook to return a response #24

Closed
@lindyhopchris

Description

@lindyhopchris

For example, on a resource we wanted to use the deleting() hook to run our own deletion logic. However, there is no way to prevent the controller action method from running the standard deletion logic, because it does check for a return value from the deleting hook.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions