个人主页

This commit is contained in:
yutao 2015-07-18 15:52:54 +08:00
parent 2577df56ce
commit 63f44535a3
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ module ActivitiesHelper
end
def get_container_type(activity)
if activity.act.nil?
return ['Unknow',0]
end
#问卷
if activity.act_type == 'Poll'
return ['Course',activity.act.polls_group_id]