Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <web-client> master : catch disabled cookies
  • From: Klaus Kämpf <kkaempf@xxxxxxx>
  • Date: Mon, 14 Sep 2009 12:07:28 +0200
  • Message-id: <E1MrV8c-0001GK-Rw@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit bca8767973dd4ca916ccdebd07594c92dad60ee3
Author: Klaus Kämpf <kkaempf@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages