fix error
This commit is contained in:
parent
ea1a20da41
commit
2a4b941495
|
@ -112,7 +112,7 @@ class BulletinFeed
|
||||||
query = query.merge({:tags.all => tag_ids})
|
query = query.merge({:tags.all => tag_ids})
|
||||||
end
|
end
|
||||||
page = Page.where(query).first || Page.where(basic_query).first
|
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|
|
announcements.each_with_index do |anns,i|
|
||||||
deadline = anns.deadline
|
deadline = anns.deadline
|
||||||
|
|
Loading…
Reference in New Issue