Re: pages_controller.php in controllers folder not working

2010-01-31 Thread Dr. Loboto
Check routes. Together with standard pages controller cake have standard routes for it. On Jan 30, 4:36 pm, gautam lakum lakum7...@gmail.com wrote: Hi all, I have created pages_controller.php in controllers folder. There are two actions in it named index and getmodel. I have created index.ctp

pages_controller.php in controllers folder not working

2010-01-30 Thread gautam lakum
Hi all, 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