Is is possible to start an action listening to an event ?
I've tried this:
and then
but the action is not triggered, if i put a dd() before return, it does reach there
1 Reply
You fire the definition of the action with that code. Not run the actual action.
I think you are looking for
->callMountedAction()
. Btw. your action definition is wrong. The action name must match the function name.