Mailinglist Archive: yast-commit (2073 mails)

< Previous Next >
[yast-commit] <web-client> dmacvicar_log_viewer : force string to session
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Thu, 10 Sep 2009 12:21:59 +0200
  • Message-id: <E1MlmrB-000684-HZ@xxxxxxxxxxxxxxxx>
ref: refs/heads/dmacvicar_log_viewer
commit 88c2b165dd0e597fd8dea6cd5a67b2d29ef3b571
Author: Josef Reidinger <jreidinger@xxxxxxx>
Date: Thu Sep 10 12:21:59 2009 +0200

force string to session
---
.../app/controllers/controlpanel_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/webclient/app/controllers/controlpanel_controller.rb
b/webclient/app/controllers/controlpanel_controller.rb
index 8317134..9bdc540 100644
--- a/webclient/app/controllers/controlpanel_controller.rb
+++ b/webclient/app/controllers/controlpanel_controller.rb
@@ -149,7 +149,7 @@ class ControlpanelController < ApplicationController
# we got some steps from backend, base system setup is not over and
# no sign of progress in session variables => restart base system setup
logger.debug "Basesystem steps: #{basesystem.steps.inspect}"
- decoded_steps = basesystem.steps.collect { |step| step.action ?
"#{step.controller}:#{step.action}" : step.controller }
+ decoded_steps = basesystem.steps.collect { |step| step.action ?
"#{step.controller}:#{step.action}" : "#{step.controller}" }
session[:wizard_steps] = decoded_steps.join(",")
session[:wizard_current] = decoded_steps.first
redirect_to :action => :basesystem
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages