zeus.ugent.be/lib/helpers/about.rb

18 lines
338 B
Ruby
Raw Normal View History

2017-06-14 09:09:37 +02:00
module AboutHelper
def bestuur_of(year)
data_from(:bestuur)[year]
end
def current_bestuur
bestuur_of(@config[:academic_year].to_sym)
end
2019-03-13 21:12:03 +01:00
def sponsoring_members_of(year)
data_from(:supporting_members)[year]
end
def current_sponsoring_members
sponsoring_members_of(@config[:academic_year].to_sym)
end
2017-06-14 09:09:37 +02:00
end