Skip to content

Commit

Permalink
bootstrap changed;
Browse files Browse the repository at this point in the history
  • Loading branch information
m1roff committed Jan 15, 2016
1 parent b05bfa3 commit 4eaafd2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DbexBootstrapClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ class DbexBootstrapClass implements BootstrapInterface
public function bootstrap($app)
{
if ($app instanceof \yii\console\Application) {
$app->controllerNamespace = 'mirkhamidov\console\controllers';
$app->controllerMap[$this->id] = [
'class' => 'mirkhamidov\console\controllers\DbexController',
'module' => $this,
];
// $app->controllerNamespace = 'mirkhamidov\console\controllers';
}
}
}

0 comments on commit 4eaafd2

Please sign in to comment.