Skip to content

Commit

Permalink
[+FEATURE] FLOW3 (MVC): Made package settings available in view. Now …
Browse files Browse the repository at this point in the history
…you can access settings directly in your Fluid template like {settings.someOption}. This resolves #5152

Original-Commit-Hash: ec422e027b5a2cefe5c26e313ed8a7bb241a9341
  • Loading branch information
Bastian Waidelich committed Oct 30, 2009
1 parent 6356423 commit b944521
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TYPO3.Flow/Classes/MVC/Controller/ActionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ public function processRequest(\F3\FLOW3\MVC\RequestInterface $request, \F3\FLOW
$this->mapRequestArgumentsToControllerArguments();
$this->checkRequestHash();
$this->view = $this->resolveView();
if ($this->view !== NULL) $this->initializeView($this->view);
if ($this->view !== NULL) {
$this->view->assign('settings', $this->settings);
$this->initializeView($this->view);
}
$this->callActionMethod();
}

Expand Down

0 comments on commit b944521

Please sign in to comment.