scinote-web/app/helpers/client_api/users/user_teams_helper.rb

11 lines
210 B
Ruby
Raw Normal View History

module ClientApi
module Users
module UserTeamsHelper
def retrive_role_name(index)
return unless index
['Guest', 'Normal user', 'Administrator'].at(index)
end
end
end
end