Permalink
Browse files

Correct path display for plugins.

Fixes #2548
  • Loading branch information...
1 parent d56cc43 commit f3b990bf0f65d25b53e1f9942f751796d0c875e7 @markstory markstory committed Feb 5, 2012
@@ -126,7 +126,7 @@ public function all() {
protected function _interactive() {
$this->interactive = true;
$this->hr();
- $this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->path));
+ $this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->getPath()));
$this->hr();
if (empty($this->connection)) {
@@ -137,7 +137,7 @@ public function all() {
protected function _interactive() {
$this->DbConfig->interactive = $this->Model->interactive = $this->interactive = true;
$this->hr();
- $this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->path));
+ $this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->getPath()));
$this->hr();
if (!isset($this->connection)) {
@@ -190,7 +190,7 @@ public function inOptions($options, $prompt = null, $default = null) {
*/
protected function _interactive() {
$this->hr();
- $this->out(__d('cake_console', "Bake Model\nPath: %s", $this->path));
+ $this->out(__d('cake_console', "Bake Model\nPath: %s", $this->getPath()));
$this->hr();
$this->interactive = true;
@@ -94,7 +94,7 @@ protected function _interactive($type = null) {
$this->interactive = true;
$this->hr();
$this->out(__d('cake_console', 'Bake Tests'));
- $this->out(__d('cake_console', 'Path: %s', $this->path));
+ $this->out(__d('cake_console', 'Path: %s', $this->getPath()));
$this->hr();
if ($type) {
@@ -195,7 +195,7 @@ public function all() {
*/
protected function _interactive() {
$this->hr();
- $this->out(sprintf("Bake View\nPath: %s", $this->path));
+ $this->out(sprintf("Bake View\nPath: %s", $this->getPath()));
$this->hr();
$this->DbConfig->interactive = $this->Controller->interactive = $this->interactive = true;

0 comments on commit f3b990b

Please sign in to comment.