Sorry. I made the folder controllers/banners/ and added the controller controllers/banner/banners_controller.php and added an index function. For giggles, I tried browsing to http://localhost/banner/banners/. I received the error that I needed to create a controller named Banner/ BannersController <--exactly.
So, I tried just with the controller, http://localhost/banners/ and it said I needed to make a BannersController. So, I tried http://localhost/banner.banners and it said I needed to create a controller named Banner.bannersController. So, I tried adding a route with Router::connect('/banners', array('controller' => 'banner/banners', 'action' => 'index')); which returned create a controller named Banner/BannersController So, I tried changing the route to Router::connect('/banners', array('controller' => 'banner.banners', 'action' => 'index')); which returned create a controller named Banner.bannersController I also tried all manner of capital B's. But, change set 6001 says I can now have controllers in sub-folders... On Nov 28, 8:53 am, Daniel Hofstetter <[EMAIL PROTECTED]> wrote: > Hi Christopher, > > What doesn't work? What did you try? > > -- > Daniel Hofstetterhttp://cakebaker.42dh.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
