fix error

This commit is contained in:
邱博亞 2022-02-23 16:02:21 +08:00
parent ea1a20da41
commit 2a4b941495
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class BulletinFeed
query = query.merge({:tags.all => tag_ids})
end
page = Page.where(query).first || Page.where(basic_query).first
more_url = page ? "/#{I18n.locale}#{(page.get_url)}" : nil
more_url = page ? page.get_url : nil
announcements.each_with_index do |anns,i|
deadline = anns.deadline