@@ -48,7 +48,7 @@ class ControllerTask extends BakeTask {
*
*/
public function initialize() {
- $this->path = App::path('Controller');
+ $this->path = current(App::path('Controller'));
}
/**
@@ -74,7 +74,7 @@ class ModelTask extends BakeTask {
- $this->path = App::path('Model');
+ $this->path = current(App::path('Model'));
@@ -41,7 +41,7 @@ class PluginTask extends Shell {
* @return void
function initialize() {
- $this->path = APP . 'Plugin' . DS;
+ $this->path = current(App::path('Plugin'));
@@ -89,7 +89,7 @@ class ViewTask extends BakeTask {
- $this->path = App::path('View');
+ $this->path = current(App::path('View'));