I have created pages_controller.php in controllers folder. There are
two actions in it named index and getmodel. I have created index.ctp
and getmodel.ctp in /app/views/pages. But when I try to access
http://.../pages/index or http://.../pages/getmodel, it gives error404
error. One thing is I have customized the cakephp default error pages.
But the question is why I can't access these urls although I have
created pages_controller.php actions and its .ctp files.
Thanks.
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@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment