Skip to content

Action not executable - caveat #3

@jerrychee94

Description

@jerrychee94

Hi, in order to execute the action from field. We have to first define the resource action. If resource action was empty, we are unable to execute the action from field.

In ActionController.php :
`public function store(ActionRequest $request)
{
$request->validateFields();

    return $request->action()->handleRequest($request);
}`

It will get the action from resource directly and execute it from there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions