im trying to implement code of 404 page in my website. Im using this code in my filters.php but i also tried to use in global.php
App::missing(function($exception)
{
return View::make('404');
}
as a result im getting this error:
Symfony \ Component \ Debug \ Exception \ FatalErrorException
Call to a member function getAction() on a non-object