Skip to content

Commit

Permalink
Shorten class name references.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed May 23, 2016
1 parent 190caaf commit 6d3f484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Template/Error/missing_action.ctp
Expand Up @@ -27,14 +27,14 @@ if (!empty($prefix)) {
$prefix .= DIRECTORY_SEPARATOR;
}

// Cake\Controller\Exception\MissingActionException support
// Controller MissingAction support
if (isset($controller)) {
$baseClass = $namespace . '\Controller\AppController';
$extends = 'AppController';
$type = 'Controller';
$class = $controller;
}
// Cake\Mailer\Exception\MissingActionException support
// Mailer MissingActionException support
if (isset($mailer)) {
$baseClass = 'Cake\Mailer\Mailer';
$type = $extends = 'Mailer';
Expand Down

0 comments on commit 6d3f484

Please sign in to comment.