laravel-actions
laravel-actions copied to clipboard
Actions don't work with Octane
Hi,
I've been testing actions for use with octane and it seems they don't work properly. The first run of an action goes to the html output, and the second and all subsequent requests to the same endpoint goes to the json output.
I think it has to do with the fact that ControllerDecorator@__invoke
is not called subsequent requests but I've not really been able to trace it down to a specific set of code.
The subsequent requests also seem to go direct to the action itself.