Closed andreirebe closed 11 years ago
When I want to use the logout button like this it does not show up:
<?php echo $this->Facebook->logout(array('redirect' => array('controller' => 'users', 'action' => 'logout'))); ?>
but when I use it simple it shows up:
<?php echo $this->Facebook->logout(); ?>
What have I've done wrong?
solved the problem. Nick has updated the documentation.
When I want to use the logout button like this it does not show up:
but when I use it simple it shows up:
What have I've done wrong?