Skip to content

Action not executable - caveat #3

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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