Cake 1.1.4
This is my custom route:
$Route->connect('/members/*', array('controller' => 'pages', 'action' =>
'display'));
I expect it to set my controller to pages and my action to display whichever
action I call.
But...
http://mysite.com/members/index
returns this error
"
Missing view
You are seeing this error because the view for pagesController::index()
could not be found.
If you want to customize this error message, create
app\views/errors/missing_view.thtml.
Fatal: Confirm you have created the file :
E:\Sviluppo\project\app\views\pages\index.thtml "
Where am I going wrong? I think I'm missing something in the logic of routes
but I don't know where my fault is.
Also... how would I create a jolly route that redirects all actions of all
controllers on a single page?
Thank you
repsah
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---