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.
2 parents 5a52b60 + 73bf083 commit 54d188bCopy full SHA for 54d188b
system/View/ViewDecoratorTrait.php
@@ -22,7 +22,7 @@ trait ViewDecoratorTrait
22
*/
23
protected function decorateOutput(string $html): string
24
{
25
- $decorators = \config(ViewConfig::class)->decorators;
+ $decorators = $this->config->decorators ?? config(ViewConfig::class)->decorators;
26
27
foreach ($decorators as $decorator) {
28
if (! is_subclass_of($decorator, ViewDecoratorInterface::class)) {
0 commit comments