deprecate the black box and the questions

This commit is contained in:
Kyle Drake 2015-01-19 10:21:45 -08:00
parent b9530b3d43
commit 73f29bf9cc
4 changed files with 0 additions and 42 deletions

View file

@ -1,15 +1,3 @@
def generate_question
if ENV['RACK_ENV'] == 'test'
question_first_number = 1
question_last_number = 1
else
question_first_number = rand 5
question_last_number = rand 5
end
session[:question_answer] = (question_first_number + question_last_number).to_s
[question_first_number, question_last_number]
end
def dashboard_if_signed_in
redirect '/dashboard' if signed_in?
end