diff --git a/app/controllers/module_app_controller.rb b/app/controllers/module_app_controller.rb index cbe9969c..e5828f94 100644 --- a/app/controllers/module_app_controller.rb +++ b/app/controllers/module_app_controller.rb @@ -268,7 +268,7 @@ def display_missing_page #:nodoc: set_robots! render :template => '/page/index', :layout => 'page', :status => "404 Not Found" return - rescueg SiteNodeEngine::MissingPageException => e + rescue SiteNodeEngine::MissingPageException => e render :text => "Page Not Found", :layout => false, :status => "404 Not Found" return end