Merge pull request '调整返回值' (#124) from KingChan/forgeplus:chenjing into standalone_develop

This commit is contained in:
KingChan
2023-08-24 17:09:30 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ class SitePagesController < ApplicationController
def index
pages = PageQuery.call(params,current_user)
@total_count = pages.size
@pages = paginate(pages)
end