We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 725a03b commit c6c216eCopy full SHA for c6c216e
src/Provider/AdminContextProvider.php
@@ -48,7 +48,7 @@ public function getContext(bool $throw = false): ?AdminContextInterface
48
throw new \LogicException('Cannot use the EasyAdmin context: no request is available.');
49
}
50
51
- return $currentRequest?->get(EA::CONTEXT_REQUEST_ATTRIBUTE);
+ return $currentRequest?->attributes->get(EA::CONTEXT_REQUEST_ATTRIBUTE);
52
53
54
public function getRequest(): Request
0 commit comments