Skip to content

Commit

Permalink
Fixes suggesting the wrong class name
Browse files Browse the repository at this point in the history
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 7212722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/Error/missing_controller.ctp
Expand Up @@ -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>
Expand Down

0 comments on commit 7212722

Please sign in to comment.