Browse Source

Fixes suggesting the wrong class name

Bake generates controller classes that extend `AppController` and I believe this is the correct behavior, while this view suggested the developer extend `{PluginName}AppController`
Andrew Lechowicz 11 years ago
parent
commit
7212722a27
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Template/Error/missing_controller.ctp

+ 1 - 1
src/Template/Error/missing_controller.ctp

@@ -52,7 +52,7 @@ namespace <?= h($namespace); ?>\Controller<?= h($prefixNs); ?>;
 
 use <?= h($namespace); ?>\Controller\AppController;
 
-class <?= h($class) . 'Controller extends ' . h($plugin); ?>AppController {
+class <?= h($class) . 'Controller extends'; ?> AppController {
 
 }
 </pre>