Initialize theme in Admin Plugin (#1069)

* Initialize theme in Admin Plugin

* Updated changelog
This commit is contained in:
Benny
2017-04-14 22:31:22 +02:00
committed by Andy Miller
parent cb45ea6773
commit 735111cae4
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
## 04/xx/2017
1. [](#improved)
* Initialize theme in Admin Plugin [#1069](https://github.com/getgrav/grav-plugin-admin/pull/1069)
* Use new system configuration entries for username and password format
* Reworked Page parent field to use `Pages::getList()` rather than logic in Twig field itself
* More robust styling of admin themes page [#1067](https://github.com/getgrav/grav-plugin-admin/pull/1067)

View File

@@ -14,6 +14,7 @@ class Themes extends \Grav\Common\Themes
/** @var Themes $themes */
$themes = $this->grav['themes'];
$themes->configure();
$themes->initTheme();
$this->grav->fireEvent('onAdminThemeInitialized');
}