소스 검색

change rendering logic

alexlcdee 7 년 전
부모
커밋
60cdb3d5cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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),
         ]));
     }
 }