Cell Shock
New Member
I'm getting the missing action in controller from CakePHP, but the action home is defined in my controller and I've made an empty view for it.\[code\]<?phpclass PagesController extends AppController { var $name = 'Pages'; var $uses = array('Event', 'News', 'Person', 'Signup', 'Workshop', 'Course'); function home() { $this->layout = 'main'; } function news() { } function events() { }}?>\[/code\]This is my routes file: \[code\]<?php Router::connect('/login', array('controller' => 'users', 'action' => 'login')); Router::connect('/admin/logout', array('controller' => 'users', 'action' => 'logout')); Router::connect('/', array('controller' => 'pages', 'action' => 'home'));\[/code\]