Przeglądaj źródła

change rendering logic

alexlcdee 7 lat temu
rodzic
commit
60cdb3d5cf
1 zmienionych plików z 1 dodań i 1 usunięć
  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),
         ]));
     }
 }