Browse Source

change rendering logic

alexlcdee 7 years ago
parent
commit
60cdb3d5cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/FileManagerPage.php

+ 1 - 1
src/FileManagerPage.php

@@ -24,7 +24,7 @@ class FileManagerPage extends Action
         $layout = $this->controller->getLayoutFile($layout);
         $layout = $this->controller->getLayoutFile($layout);
 
 
         return $this->controller->processOutput($this->controller->renderFile($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),
         ]));
         ]));
     }
     }
 }
 }