Archived
1
0
Fork 0

Some minor cleanup.

This commit is contained in:
Henrik Hautakoski 2014-12-28 18:48:32 +01:00
parent 1f7aec1628
commit a1b5fc4ebf
5 changed files with 6 additions and 9 deletions

View file

@ -2,9 +2,11 @@
class ProfileController extends Fiktiv_Controller_Action
{
public function preDispatch() {
if (!Zend_Auth::getInstance()->hasIdentity())
public function preDispatch()
{
if (!Zend_Auth::getInstance()->hasIdentity()) {
$this->_redirect('/');
}
}
public function indexAction()