mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
update
This commit is contained in:
@@ -3,11 +3,11 @@ class PageQuery < ApplicationQuery
|
||||
|
||||
def initialize(params, user)
|
||||
@user = user
|
||||
@params = params
|
||||
end
|
||||
|
||||
def call
|
||||
pages = Page.where(user: @user)
|
||||
|
||||
pages
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user