调整用户获取站点排序
This commit is contained in:
parent
77d72e8e1a
commit
497c1d827f
|
@ -7,7 +7,7 @@ class PageQuery < ApplicationQuery
|
||||||
end
|
end
|
||||||
|
|
||||||
def call
|
def call
|
||||||
pages = Page.where(user: @user)
|
pages = Page.where(user: @user).order(created_at: :desc)
|
||||||
pages
|
pages
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue