Action::make('report')->link()->url(function (Device $device) { return DeviceResource::getUrl('report', ['record' => $device]); })
public static function report(Device $record) { dd(DeviceResource::getUrl('report', ['record' => $record])); }