Code Context public function view($id = null) {
$noticia = $this->Noticia->findBySlug($id);
if (!$this->Noticia->exists($noticia['Noticia']['id'])) {
$id = null
$noticia = array()
NoticiasController::view() - APP/Controller/NoticiasController.php, line 46
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118