Fix bug.
This commit is contained in:
parent
3123fd5635
commit
8d3362d8c0
|
@ -83,7 +83,7 @@ module Admin::EventNewsHelper
|
|||
|
||||
def page_for_event_news(event_news)
|
||||
ann_page = nil
|
||||
pages = Page.where(:module=>'event_news')
|
||||
pages = Page.where(:module=>'event_news_mod')
|
||||
|
||||
pages.each do |page|
|
||||
if page.categories.count ==1
|
||||
|
|
Loading…
Reference in New Issue