Created
July 17, 2014 09:20
-
-
Save fballiano/1e7b6acba399d1e61940 to your computer and use it in GitHub Desktop.
Magento: controller bootstrapping layout and messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function indexAction() | |
{ | |
$this->loadLayout(); | |
$this->_initLayoutMessages("customer/session"); | |
$this->_initLayoutMessages("catalog/session"); | |
$this->renderLayout(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment