I am trying to access login page when logged in.
Is there any non-programmatical solution to it? (like changing some setting or typing URL).
When logged in, the trying to access landing page redirects to user home.
Is there any non-programmatical solution to it? (like changing some setting or typing URL).
When logged in, the trying to access landing page redirects to user home.
I want the user to be able to access landing page (as there is some common latest stuff pulled) through user is logged in.
Programmatically I think this is the access point but don't see any redirection or call for theme page.
class HomeController extends AppController {
public function index() {
if ($this->isApp())
{
$this->redirect('/activities/ajax_browse/everyone');
}
$uid = $this->Auth->user('id');
Add comment comment