aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/ActionController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-10-31 18:15:47 +0100
committerGravatar GitHub <noreply@github.com> 2019-10-31 18:15:47 +0100
commit3aa66f317b496ccd9a2df914bbc747c52081a7ad (patch)
tree6a3f3f74899801abdca00546e213dfdc141c53cf /lib/Minz/ActionController.php
parent82611c9622ed23b0e9fcf5f9f651ddffa1fd7706 (diff)
parentfcae48f313d399050cb15f37a8a73ae52fc67796 (diff)
Merge pull request #2599 from FreshRSS/dev1.15.0
FreshRSS 1.15
Diffstat (limited to 'lib/Minz/ActionController.php')
-rw-r--r--lib/Minz/ActionController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Minz/ActionController.php b/lib/Minz/ActionController.php
index 232a4ef9b..123b9054c 100644
--- a/lib/Minz/ActionController.php
+++ b/lib/Minz/ActionController.php
@@ -14,7 +14,9 @@ class Minz_ActionController {
* Constructeur
*/
public function __construct () {
- $this->view = new Minz_View ();
+ $this->view = new Minz_View();
+ $view_path = Minz_Request::controllerName() . '/' . Minz_Request::actionName() . '.phtml';
+ $this->view->_path($view_path);
$this->view->attributeParams ();
}