On 27 Jun 2009, at 23:11, tpynegar tpyne...@hotmail.com wrote:
Hi,
I've got a setup where i've got a login action at /users/login. If you
go directly to that
controller, action there is no error message wereas if you goto '/' as
in the site
address with no controller or action and then
Hi,
I've got a setup where i've got a login action at /users/login. If you
go directly to that
controller, action there is no error message wereas if you goto '/' as
in the site
address with no controller or action and then follow the routes i've
got setup for '/'
to /users/login you get this
Url '/' points by default routes to PagesController::display(), so you
should call either
a) in PagesController::beforeFilter():
parent::beforeFilter();
$this-Auth-allow('display');
or
b) in AppController::beforeFilter():
if ($this-name == 'Pages') {