Fix bug.
This commit is contained in:
parent
a89ec48c1b
commit
29732396dc
|
@ -201,7 +201,7 @@ class AnnouncementsController < ApplicationController
|
|||
page = Page.where(:page_id=> subpart.read_more_page_id,:enabled_for=>locale).first rescue nil
|
||||
page = Page.where(:module=>"announcement",:enabled_for=>locale).first rescue nil if page.nil?
|
||||
end
|
||||
page_url = "/#{locale}#{page.get_url}"
|
||||
page_url = "/#{locale}#{(page.get_url rescue page.url)}"
|
||||
end
|
||||
all_cats = cats.dup
|
||||
all_cats.delete "all"
|
||||
|
|
Loading…
Reference in New Issue