Skip to content
Permalink
Browse files

Fixing getAdmin() method location to reflect changes in API.

  • Loading branch information...
markstory committed Jul 16, 2009
1 parent a7fb5f9 commit cbb568b3c7761f3233b815e03dbf73b259740eba
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/console/libs/tasks/controller.php
@@ -188,7 +188,7 @@ function __interactive() {
$actions = $this->bakeActions($controllerName, null, strtolower($wannaUseSession) == 'y');
}
if (strtolower($wannaBakeAdminCrud) == 'y') {
$admin = $this->getAdmin();
$admin = $this->Project->getAdmin();
$actions .= $this->bakeActions($controllerName, $admin, strtolower($wannaUseSession) == 'y');
}

0 comments on commit cbb568b

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