From 89657750049da7cb046a8dea85786c83b8118bde Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 18 Nov 2015 14:06:21 +0800 Subject: [PATCH] =?UTF-8?q?show=E6=96=B9=E6=B3=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/exercise_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/exercise_helper.rb b/app/helpers/exercise_helper.rb index 513f27c16..cdfdf4abb 100644 --- a/app/helpers/exercise_helper.rb +++ b/app/helpers/exercise_helper.rb @@ -8,7 +8,7 @@ module ExerciseHelper #判断用户是否已经提交了问卷 def has_commit_exercise?(exercise_id, user_id) - pu = ExerciseUser.find_by_excercise_id_and_user_id(exercise_id, user_id) + pu = ExerciseUser.find_by_exercise_id_and_user_id(exercise_id, user_id) if pu.nil? false else