From acd32b71fe5e9e229d50d051bf208556d0835684 Mon Sep 17 00:00:00 2001 From: Rachman Chavik Date: Wed, 4 Feb 2015 15:47:01 +0700 Subject: [PATCH] Fix: "bake plugin" generates incorrect directory for View/Layouts --- lib/Cake/Console/Command/Task/PluginTask.php | 2 +- lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Console/Command/Task/PluginTask.php b/lib/Cake/Console/Command/Task/PluginTask.php index 8105cc8d0..95c3b3039 100644 --- a/lib/Cake/Console/Command/Task/PluginTask.php +++ b/lib/Cake/Console/Command/Task/PluginTask.php @@ -123,7 +123,7 @@ class PluginTask extends AppShell { 'Test' . DS . 'Fixture', 'View' . DS . 'Elements', 'View' . DS . 'Helper', - 'View' . DS . 'Layout', + 'View' . DS . 'Layouts', 'webroot' . DS . 'css', 'webroot' . DS . 'js', 'webroot' . DS . 'img', diff --git a/lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php b/lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php index 38c243d21..82500e3aa 100644 --- a/lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php +++ b/lib/Cake/Test/Case/Console/Command/Task/PluginTaskTest.php @@ -115,7 +115,7 @@ class PluginTaskTest extends CakeTestCase { 'Test' . DS . 'Fixture', 'View' . DS . 'Elements', 'View' . DS . 'Helper', - 'View' . DS . 'Layout', + 'View' . DS . 'Layouts', 'webroot' . DS . 'css', 'webroot' . DS . 'js', 'webroot' . DS . 'img',