From d06e9a476acf607137cabc0b998fbe0705762dac Mon Sep 17 00:00:00 2001 From: Jan Renz Date: Sun, 12 Apr 2015 23:16:58 +0200 Subject: [PATCH] if we use this for cheching then there should be a valid false or nil return --- app/helpers/exercise_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/helpers/exercise_helper.rb b/app/helpers/exercise_helper.rb index cab90c21..7dcbb6f4 100644 --- a/app/helpers/exercise_helper.rb +++ b/app/helpers/exercise_helper.rb @@ -13,6 +13,8 @@ module ExerciseHelper if enabled config.read[:code_pilot][:url] + else + return nil end end end