public function editAttachmentAction(Files $file, Attachments $attachment) { dd($attachment->toArray()); }