Some minor cleanup.
This commit is contained in:
parent
1f7aec1628
commit
a1b5fc4ebf
5 changed files with 6 additions and 9 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Reference in a new issue