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.
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();
It will get the action from resource directly and execute it from there.