Commit bc03f64a authored by Andreas Wolf's avatar Andreas Wolf Committed by Thomas Löffler
Browse files

[TASK] View passed on to initialize method

Change-Id: Id381b6e4cd50e3b444f7d574297c17375308cb62
Reviewed-on: https://review.typo3.org/50615


Reviewed-by: Thomas Löffler's avatarThomas Löffler <loeffler@spooner-web.de>
Tested-by: Thomas Löffler's avatarThomas Löffler <loeffler@spooner-web.de>
parent e750c1e4
...@@ -70,8 +70,9 @@ abstract class Tx_TerFe2_Controller_AbstractTerBasedController extends Tx_TerFe2 ...@@ -70,8 +70,9 @@ abstract class Tx_TerFe2_Controller_AbstractTerBasedController extends Tx_TerFe2
* *
* @return void * @return void
*/ */
public function initializeView() public function initializeView(\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view)
{ {
$this->view = $view;
$this->view->assign('loggedIn', FALSE); $this->view->assign('loggedIn', FALSE);
if (!empty($this->frontendUser)) { if (!empty($this->frontendUser)) {
$this->view->assign('loggedIn', TRUE); $this->view->assign('loggedIn', TRUE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment