ref: refs/heads/master
commit bca8767973dd4ca916ccdebd07594c92dad60ee3
Author: Klaus Kämpf
Date: Mon Sep 14 12:07:28 2009 +0200
catch disabled cookies
---
.../app/controllers/application_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/webclient/app/controllers/application_controller.rb b/webclient/app/controllers/application_controller.rb
index 1ea27b4..8cb0f02 100644
--- a/webclient/app/controllers/application_controller.rb
+++ b/webclient/app/controllers/application_controller.rb
@@ -78,7 +78,7 @@ class ApplicationController < ActionController::Base
#render :text => "shit" and return
end
- case @error
+ case e
when ActionController::InvalidAuthenticityToken
render :template => "shared/cookies_disabled"
else
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org