又一个course timeout问题

This commit is contained in:
yanxd 2014-03-20 15:28:36 +08:00
parent a8ab8fc45d
commit e97caddbdb
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ module WelcomeHelper
def welcome_join_in_course(project, user)
if(user.logged? &&
!(course_timeout? project) &&
!(course_endTime_timeout? project) &&
(project.course_extra.teacher.id != user.id)
)
join_in_course(project, user)