From f062dfe15aceff688d011c71906eb6bf95a9274b Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Mon, 13 Apr 2009 19:06:40 -0500 Subject: [PATCH] Remove some obsolete code from ApplicationController::rescue_action_in_public Prompted by http://rubyforge.org/pipermail/instiki-users/2009-April/001215.html --- app/controllers/application_controller.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5e046409..66587bb3 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -136,9 +136,6 @@ class ApplicationController < ActionController::Base end def rescue_action_in_public(exception) - if exception.instance_of?(ActiveController::Session::CookieStore::TamperedWithCookie) - render :text => 'Stale session. Please reload the page.', :status =>500, :layout => 'error' - else render :status => 500, :text => <<-EOL

Internal Error

@@ -146,7 +143,6 @@ class ApplicationController < ActionController::Base EOL - end end def return_to_last_remembered