mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 18:21:04 +08:00
11 lines
210 B
Ruby
11 lines
210 B
Ruby
|
module ClientApi
|
||
|
module Users
|
||
|
module UserTeamsHelper
|
||
|
def retrive_role_name(index)
|
||
|
return unless index
|
||
|
['Guest', 'Normal user', 'Administrator'].at(index)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|