Explorar o código

change rendering logic

alexlcdee %!s(int64=7) %!d(string=hai) anos
pai
achega
60cdb3d5cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/FileManagerPage.php

+ 1 - 1
src/FileManagerPage.php

@@ -24,7 +24,7 @@ class FileManagerPage extends Action
         $layout = $this->controller->getLayoutFile($layout);
 
         return $this->controller->processOutput($this->controller->renderFile($layout, [
-            'content' => $this->controller->widget(Widget::class),
+            'content' => $this->controller->widget(Widget::class, ['config' => $this->config], true),
         ]));
     }
 }