Warning (2): Missing argument 1 for CourseController::chapter(), called in /home/www/web5/html/cake/libs/object.php on line 116 and defined [APP/controllers/course_controller.php, line 127]
* @param String $slug sluggy-baby */ function chapter($slug) {
CourseController::chapter() - APP/controllers/course_controller.php, line 127
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Notice (8): Undefined variable: slug [APP/controllers/course_controller.php, line 131]
$this->set('loginReload',true); // force reload on login... $this->CourseChapter->bindModel(array("belongsTo"=>array("Course"))); $chapter = $this->CourseChapter->findBySlug($slug);
CourseController::chapter() - APP/controllers/course_controller.php, line 131
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88