瀏覽代碼

fixed controller template

tags/0.1.0
Robin Thoni 9 年之前
父節點
當前提交
74fe81bed2
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/Generator/controller.php.twig

+ 1
- 1
src/Generator/controller.php.twig 查看文件

@@ -7,7 +7,7 @@ use {{ business_namespace.as_it }}\{{ business_name.as_it }};
7 7
 use {{ dbo_namespace.as_it }}\{{ dbo_name.as_it }};
8 8
 
9 9
 class {{ controller_name.as_it }} extends LuController {
10
-    protected static function getBusiness()
10
+    protected function getBusiness()
11 11
     {
12 12
         return new {{ business_name.as_it }}();
13 13
     }

Loading…
取消
儲存