public function viewAction()
    {
        $model = $this->loadModel();
        if (!$model->getId()) {
            $this->_forward('noroute');
            return;
        }

        $this->loadLayout();
        $this->renderLayout();
    }
public function viewAction()
    {
        $model = $this->loadModel();
        if (!$model->getId()) {
            $this->_forward('noroute');
            return;
        }

        $this->loadLayout();
        $this->renderLayout();
    }
public function viewAction ( ) { $ model = $ this -> loadModel ( ) ; if ( ! $ model -> getId ( ) ) { $ this -> _forward ( 'noroute' ) ; return ; } $ this -> loadLayout ( ) ; $ this -> renderLayout ( ) ; }
View existing record
View existing record