I have a login function in app_controler, where i redirect the user to
the login form when it is not logged in..
$this->redirect('/users/login');
Only it can't find the theme:
"Error: The view for UsersController::login() was not found.
Error: Confirm you have created the file: C:\wamp\www\mech7_v2\app
\views\users\login.ctp"
But the file should be: C:\wamp\www\mech7_v2\app\views\themed\default
\users\login.ctp
Should i redirect the user in a different way?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---