don't redirect to rfc for experimental groups and hide the button for them

This commit is contained in:
Ralf Teusner
2018-02-15 17:26:36 +01:00
parent 9c308e5b57
commit 647e705a02
3 changed files with 37 additions and 6 deletions

View File

@ -24,4 +24,15 @@ class UserGroupSeparator
end
end
def self.getRequestforCommentGroup(user)
lastDigitId = user.id % 10
if lastDigitId < 2 # 0,1
:hide_rfc
elsif lastDigitId < 4 # 2,3
:stale_rfc
else # 4,5,6,7,8,9
:show_rfc
end
end
end