aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/entryController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2019-08-02 11:40:57 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-08-02 11:40:57 +0200
commit49e1a2c579757994ae4ed5994339bd58a09238db (patch)
tree5c37260a84dbb40b3c26fe018b492838430fa551 /app/Controllers/entryController.php
parent89427e45e5413d400b1398710785df6d0c7153ee (diff)
Allow to change the view layout (#2467)
The `_useLayout` function is marked as deprecated, replaced by a more powerful `_layout` function.
Diffstat (limited to 'app/Controllers/entryController.php')
-rwxr-xr-xapp/Controllers/entryController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/entryController.php b/app/Controllers/entryController.php
index 9c5ee2616..0215128f4 100755
--- a/app/Controllers/entryController.php
+++ b/app/Controllers/entryController.php
@@ -17,7 +17,7 @@ class FreshRSS_entry_Controller extends Minz_ActionController {
// If ajax request, we do not print layout
$this->ajax = Minz_Request::param('ajax');
if ($this->ajax) {
- $this->view->_useLayout(false);
+ $this->view->_layout(false);
Minz_Request::_param('ajax');
}
}