个人主页
This commit is contained in:
parent
2577df56ce
commit
63f44535a3
|
@ -44,6 +44,9 @@ module ActivitiesHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_container_type(activity)
|
def get_container_type(activity)
|
||||||
|
if activity.act.nil?
|
||||||
|
return ['Unknow',0]
|
||||||
|
end
|
||||||
#问卷
|
#问卷
|
||||||
if activity.act_type == 'Poll'
|
if activity.act_type == 'Poll'
|
||||||
return ['Course',activity.act.polls_group_id]
|
return ['Course',activity.act.polls_group_id]
|
||||||
|
|
Loading…
Reference in New Issue