users: raise page limit for Gold users from 2000 to 5000.
Gold now has the same page limit as Platinum.
This commit is contained in:
@@ -429,10 +429,8 @@ class User < ApplicationRecord
|
|||||||
end
|
end
|
||||||
|
|
||||||
def page_limit(level)
|
def page_limit(level)
|
||||||
if level >= User::Levels::PLATINUM
|
if level >= User::Levels::GOLD
|
||||||
5000
|
5000
|
||||||
elsif level == User::Levels::GOLD
|
|
||||||
2000
|
|
||||||
else
|
else
|
||||||
1000
|
1000
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user