This commit is contained in:
huang 2015-11-20 18:39:35 +08:00
parent bb726e3475
commit aa36c927d3
1 changed files with 0 additions and 1 deletions

View File

@ -41,7 +41,6 @@ class ExerciseController < ApplicationController
if !@is_teacher && !has_click_exercise?(@exercise.id, User.current.id)
eu = ExerciseUser.create(:user_id => User.current.id, :exercise_id => @exercise.id, :start_at => Time.now, :status => false)
end
# @percent = get_percent(@exercise,User.current)
exercise_questions = @exercise.exercise_questions
@exercise_questions = paginateHelper exercise_questions,5 #分页