This commit is contained in:
sw 2014-10-16 14:48:33 +08:00
parent 6a33934122
commit 496ad85469
1 changed files with 0 additions and 1 deletions

View File

@ -31,7 +31,6 @@ class CoursesController < ApplicationController
members = []
members << Member.new(:role_ids => [10], :user_id => User.current.id)
course.members << members
StudentsForCourse.create(:student_id => User.current.id, :course_id => params[:object_id])
@state = 0
else