From 854467891f64cefdc971ec8ee5732035161c2d74 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 15 Mar 2013 15:32:55 -0400 Subject: [PATCH] fix typo --- app/controllers/application_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 58f74acf0..c6cce8c31 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -20,8 +20,8 @@ protected render :template => "static/error", :status => 500 elsif exception.is_a?(::ActiveRecord::RecordNotFound) @exception = nil - @error_message = "That record was not found", :status => 404 - render :template => "static/error", :status => 500 + @error_message = "That record was not found" + render :template => "static/error", :status => 404 else render :template => "static/error", :status => 500 end