Is resource model always passed to record action in resource pages? Can I set record using ->record($record->client)? I have custom action ClientCardAction and want to pass related client record from invoice in InvoiceResource.
Right now I use mountUsing to set record from closure, but dont know is that ok way to do it