diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-13 19:29:56 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-13 19:29:56 +0200 |
commit | ce3fcb72f2d5d154461a14183069bf87db1e5776 (patch) | |
tree | 34364d5cf6ef977599a465f08b57d4fe432fc750 /app/class/Controller.php | |
parent | 5d1d446ff8a7e63562a0cafac6214b473f3f9baf (diff) | |
download | wcms-ce3fcb72f2d5d154461a14183069bf87db1e5776.tar.gz wcms-ce3fcb72f2d5d154461a14183069bf87db1e5776.zip |
first arrival of flash messages close #85
Diffstat (limited to 'app/class/Controller.php')
-rw-r--r-- | app/class/Controller.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/class/Controller.php b/app/class/Controller.php index ab40a82..ccf31fa 100644 --- a/app/class/Controller.php +++ b/app/class/Controller.php @@ -49,6 +49,7 @@ class Controller $this->plates->registerFunction('upage', function (string $string, string $id) use ($router) { return $router->generate($string, ['page' => $id]); }); + $this->plates->addData(['flashmessages' => Model::getflashmessages()]); } public function showtemplate($template, $params) |