forked from External/greenlight
Complete refactor of Gemfile and upgraded gems (#2553)
This commit is contained in:
@ -123,9 +123,10 @@ module Rolify
|
||||
:can_manage_rooms_recordings, :can_appear_in_share_list, :colour)
|
||||
|
||||
permission_params.transform_values! do |v|
|
||||
if v == "0"
|
||||
case v
|
||||
when "0"
|
||||
"false"
|
||||
elsif v == "1"
|
||||
when "1"
|
||||
"true"
|
||||
else
|
||||
v
|
||||
|
Reference in New Issue
Block a user