Updated featured groups to max 100

• Updated:
- featured groups to max 100
This commit is contained in:
mgabdev 2020-07-07 16:01:27 -05:00
parent 86a3324df5
commit 2ae611d7ed

View File

@ -12,7 +12,7 @@ class Api::V1::GroupsController < Api::BaseController
def index
case current_tab
when 'featured'
@groups = Group.where(is_featured: true, is_archived: false).limit(50).all
@groups = Group.where(is_featured: true, is_archived: false).limit(100).all
when 'new'
@groups = Group.where(is_archived: false).limit(24).order('created_at DESC').all
when 'member'