entry_id != $entry_id ) { abort(404); } $service = app(FileServersService::class); $patches = [ 'file' => $service->getDownloadFileUrl( $file ), 'name' => $file->entry->title, 'outputName' => $file->filename ]; return view('tools.patcher', compact('patches')); } }