Extending view fix. #370

Patch by @effsoft
This commit is contained in:
Lorenzo Milesi
2020-03-15 08:15:47 +01:00
parent badba36796
commit e329443e8d
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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);
}
/**