mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
调整用户获取站点排序
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user