Switch group collection view back to newest sorting.
This commit is contained in:
parent
fdca30cd97
commit
5b89095a55
|
@ -32,7 +32,7 @@ class Api::V1::Timelines::GroupCollectionController < Api::BaseController
|
||||||
private
|
private
|
||||||
|
|
||||||
def set_sort_type
|
def set_sort_type
|
||||||
@sort_type = 'hot'
|
@sort_type = 'newest'
|
||||||
@sort_type = params[:sort_by] if [
|
@sort_type = params[:sort_by] if [
|
||||||
'hot',
|
'hot',
|
||||||
'newest',
|
'newest',
|
||||||
|
|
Loading…
Reference in New Issue