This commit is contained in:
BoHung Chiu 2022-04-22 14:37:14 +08:00
parent 3123fd5635
commit 8d3362d8c0
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ module Admin::EventNewsHelper
def page_for_event_news(event_news) def page_for_event_news(event_news)
ann_page = nil ann_page = nil
pages = Page.where(:module=>'event_news') pages = Page.where(:module=>'event_news_mod')
pages.each do |page| pages.each do |page|
if page.categories.count ==1 if page.categories.count ==1