Table rows Action->action() not firing
I have the below snippet (along with a few other actions) and I had initially been trying with
I tried duplicating another custom Action class
I've also shared the custom class action I created below.
If I
The attached video is of the snippet immediately below:
Custom class action (also not working)
\Log::info('test');, but it wasn't being fired so I thought I'd try dd() and it seems that the ->action part is never being reached at all. I tried duplicating another custom Action class
class FollowShowAction extends Action {...} and just changing the ->action() to trigger a Notification, but it's still not firing, however the original custom Action I cloned from class BlockUserAction extens Action {...} works perfectly fineI've also shared the custom class action I created below.
If I
\Log::info('anything'); in the setUp() function, it logs correctly, and if I use ->url() instead of ->action() it works too. I just can't work out why it works for the action I duplicated from, but not this oneThe attached video is of the snippet immediately below:
Custom class action (also not working)