|
|
Yup - I know, but I have multiple prefixes; so if I am diverted from, say,
/managers/shops/edit I would need to have 'managers' => false (and therefore
the 'admin' => false is irrelevant).
Jeremy Burns
Class Outfit
jeremyburns@xxxxxxxxxxxxxxx
http://www.classoutfit.com
On 3 Dec 2010, at 12:38, Alex Ciobanu wrote:
> On 12/3/2010 2:18 PM, Jeremy Burns | Class Outfit wrote:
>> I did consider that, but I'm looking for something fairly simple to both
>> implement and administer (I don't want to have to make loads of
>> changes/create new objects when I add a new prefix, for example).
>
> Example from manual seems to do the trick[1]. Setting admin to false
> redirects to action without prefix.
>
> [1] http://book.cakephp.org/view/391/loginAction
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
|
|