fixes
This commit is contained in:
parent
1cbf78df3d
commit
aeb28833f1
8 changed files with 39 additions and 30 deletions
|
|
@ -196,4 +196,11 @@ module ApplicationHelper
|
|||
end
|
||||
return providers
|
||||
end
|
||||
|
||||
# Receives a hash, generated from User model, function get_roles
|
||||
# Outputs the roles of a user, including the conferences for which the user has the roles
|
||||
# Eg. organizer(oSC13, oSC14), cfp(oSC12, oSC13)
|
||||
def show_roles(roles)
|
||||
roles.map { |x| x[0].titleize + ' ' + x[1] }.join ', '
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue