Browse Source

fixed controller template

tags/0.1.0
Robin Thoni 9 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
 use {{ dbo_namespace.as_it }}\{{ dbo_name.as_it }};
7
 use {{ dbo_namespace.as_it }}\{{ dbo_name.as_it }};
8
 
8
 
9
 class {{ controller_name.as_it }} extends LuController {
9
 class {{ controller_name.as_it }} extends LuController {
10
-    protected static function getBusiness()
10
+    protected function getBusiness()
11
     {
11
     {
12
         return new {{ business_name.as_it }}();
12
         return new {{ business_name.as_it }}();
13
     }
13
     }

Loading…
Cancel
Save