mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 03:10:48 +08:00
调整用户获取站点排序
This commit is contained in:
@@ -7,7 +7,7 @@ class PageQuery < ApplicationQuery
|
||||
end
|
||||
|
||||
def call
|
||||
pages = Page.where(user: @user)
|
||||
pages = Page.where(user: @user).order(created_at: :desc)
|
||||
pages
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user