From 50dfc4d9499487bf0f0994fb1c53673c5477bea9 Mon Sep 17 00:00:00 2001 From: Pavel Date: Mon, 15 Mar 2010 19:38:14 +0200 Subject: [PATCH] client changes again --- online/app/controllers/user_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/online/app/controllers/user_controller.rb b/online/app/controllers/user_controller.rb index 127c24d..da2d307 100644 --- a/online/app/controllers/user_controller.rb +++ b/online/app/controllers/user_controller.rb @@ -72,7 +72,7 @@ class UserController < ApplicationController def question1 user_has_published_once = false user_has_published_once = question_processor 1 - if user_has_published_once + if user_has_published_once == true render :action => "question2" end @@ -82,7 +82,7 @@ class UserController < ApplicationController def question2 user_has_published_once = false user_has_published_once = question_processor 2 - if user_has_published_once + if user_has_published_once == true render :action => "question3" end @@ -91,7 +91,7 @@ class UserController < ApplicationController def question3 user_has_published_once = false user_has_published_once = question_processor (3) - if user_has_published_once + if user_has_published_once == true session_new = Facebooker::Session.create @userFB = Facebooker::User.new(session[:facebook_session].user.uid, session_new) publishing (@userFB,@userFB,"selected their top 5 friends: A, X, Y, Z, W to win Nokia E72. How well do you know your friends? Answer and win now!","Take the Nokia E72 challenge","http://foo.com","2Take the Nokia E72 friendship challenge now to win up to 6 Nokia E72 devices","http://foo2.com","3Take the Nokia E72 friendship challenge now to win up to 6 Nokia E72 devices",'image',"http://www.finalsense.com/news/image/mobile/nokia-6124classic.jpg","http://foo3.com") -- 2.11.4.GIT