Browse Source

fixed controller template

tags/0.1.0
Robin Thoni 8 years ago
parent
commit
74fe81bed2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Generator/controller.php.twig

+ 1
- 1
src/Generator/controller.php.twig View File

@@ -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…
Cancel
Save