protected function checkBlocked()
    {
        if ($this->user->status_id === Status::BLOCKED) {
            return $this->addAction('Un-Block', 'unlock', $this->makeRoute('block', 0));
        }

        return $this->addAction('Block', 'lock', $this->makeRoute('block', 1));
    }
protected function checkBlocked()
    {
        if ($this->user->status_id === Status::BLOCKED) {
            return $this->addAction('Un-Block', 'unlock', $this->makeRoute('block', 0));
        }

        return $this->addAction('Block', 'lock', $this->makeRoute('block', 1));
    }
protected function checkBlocked ( ) { if ( $ this -> user -> status_id === Status :: BLOCKED ) { return $ this -> addAction ( 'Un-Block' , 'unlock' , $ this -> makeRoute ( 'block' , 0 ) ) ; } return $ this -> addAction ( 'Block' , 'lock' , $ this -> makeRoute ( 'block' , 1 ) ) ; }
Actions for a blocked user.
Actions for a blocked user .