This commit is contained in:
parent
bb726e3475
commit
aa36c927d3
|
@ -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 #分页
|
||||
|
|
Loading…
Reference in New Issue