From 448dc6442f54a3d7a727f171f4a004e9bd319d4a Mon Sep 17 00:00:00 2001 From: ADmad Date: Sat, 29 Aug 2020 01:17:22 +0530 Subject: [PATCH] Rename templates/Scaffold to templates/scaffold --- src/View/CrudView.php | 2 +- templates/{Scaffold => scaffold}/add.php | 0 templates/{Scaffold => scaffold}/dashboard.php | 0 templates/{Scaffold => scaffold}/edit.php | 0 templates/{Scaffold => scaffold}/index.php | 0 templates/{Scaffold => scaffold}/view.php | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename templates/{Scaffold => scaffold}/add.php (100%) rename templates/{Scaffold => scaffold}/dashboard.php (100%) rename templates/{Scaffold => scaffold}/edit.php (100%) rename templates/{Scaffold => scaffold}/index.php (100%) rename templates/{Scaffold => scaffold}/view.php (100%) diff --git a/src/View/CrudView.php b/src/View/CrudView.php index 86b77323..a4b827a6 100644 --- a/src/View/CrudView.php +++ b/src/View/CrudView.php @@ -222,7 +222,7 @@ protected function _getTemplateFileName(?string $name = null): string return parent::_getTemplateFileName($name); } catch (MissingTemplateException $exception) { $this->subDir = ''; - $this->templatePath = 'Scaffold'; + $this->templatePath = 'scaffold'; } try { return parent::_getTemplateFileName($this->template); diff --git a/templates/Scaffold/add.php b/templates/scaffold/add.php similarity index 100% rename from templates/Scaffold/add.php rename to templates/scaffold/add.php diff --git a/templates/Scaffold/dashboard.php b/templates/scaffold/dashboard.php similarity index 100% rename from templates/Scaffold/dashboard.php rename to templates/scaffold/dashboard.php diff --git a/templates/Scaffold/edit.php b/templates/scaffold/edit.php similarity index 100% rename from templates/Scaffold/edit.php rename to templates/scaffold/edit.php diff --git a/templates/Scaffold/index.php b/templates/scaffold/index.php similarity index 100% rename from templates/Scaffold/index.php rename to templates/scaffold/index.php diff --git a/templates/Scaffold/view.php b/templates/scaffold/view.php similarity index 100% rename from templates/Scaffold/view.php rename to templates/scaffold/view.php