Code Context // $galeriasnoticia = $this->Galeriasnoticia->find('all', array('conditions'=>array('noticia_id'=> $id_noticia,'Galeriasnoticia.imagem != '=> '')));
$noticia = $this->Noticia->findBySlug($id);
if (!$this->Noticia->exists($noticia['Noticia']['id'])) {
$id = 'noticia-detalhe'
$noticia = array()
NoticiasController::view() - APP/Controller/NoticiasController.php, line 48
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
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