From e329443e8deb37c19f9485dc0960a5bc52c4e02b Mon Sep 17 00:00:00 2001 From: Lorenzo Milesi Date: Sun, 15 Mar 2020 08:15:47 +0100 Subject: [PATCH] Extending view fix. #370 Patch by @effsoft --- CHANGELOG.md | 1 + src/User/Bootstrap.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a72e086..8bcd3eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # CHANGELOG + - Fix #370: Extending view fix (effsoft) - Fix #306: Add event for failed login (ivan-cc) - Fix #347: Only pass fields known to User model in registrationControl->actionRegister() (BillHeaton) - Fix #346: Update ReCaptcha guide to not use AJAX (BillHeaton) diff --git a/src/User/Bootstrap.php b/src/User/Bootstrap.php index fd51c33..07a8d92 100644 --- a/src/User/Bootstrap.php +++ b/src/User/Bootstrap.php @@ -291,7 +291,7 @@ class Bootstrap implements BootstrapInterface protected function initControllerNamespace(WebApplication $app) { $app->getModule('user')->controllerNamespace = $app->getModule('user')->controllerNamespace; - $app->getModule('user')->setViewPath('@Da/User/resources/views'); + $app->getModule('user')->setViewPath($app->getModule('user')->viewPath); } /**