Skip to content
Permalink
Browse files

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`
  • Loading branch information...
alecho committed Sep 5, 2014
1 parent a2b1d4a commit 7212722a27bfa794ae193d5544fce7e006d09656
Showing with 1 addition and 1 deletion.
  1. +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>

0 comments on commit 7212722

Please sign in to comment.
You can’t perform that action at this time.