integer('id'); return $this->attachments->resolveRedirectResponseById($id, $request->ip()); } public function byPath(string $path) { return $this->attachments->resolveRedirectResponseByLegacyPath($path, request()->ip()); } }