diff --git a/app/models/site_feed_annc.rb b/app/models/site_feed_annc.rb index f6fa7ff..fca476c 100644 --- a/app/models/site_feed_annc.rb +++ b/app/models/site_feed_annc.rb @@ -235,7 +235,7 @@ class SiteFeedAnnc if !tmp["link_to_show"].blank? && tmp["link_to_show"].start_with?("/") - tmp["link_to_show"] = "#{tmp["source_url"]}#{tmp["link_to_show"])}" + tmp["link_to_show"] = "#{tmp["source_url"]}#{tmp["link_to_show"]}" end @@ -382,8 +382,8 @@ class SiteFeedAnnc end if tmp["link_to_show"].nil? tmp["link_to_show"] = UseSourceUrl && tmp["show_url"] ? - URI.join("#{tmp["source_url"]}/#{locale}",URI.encode("#{tmp["show_url"]}")).to_s : - is_widget ? OrbitHelper.widget_item_url(tmp["params"]) : OrbitHelper.url_to_show(tmp["params"]) + "#{tmp["source_url"]}/#{locale}#{tmp["show_url"]}" : + is_widget ? OrbitHelper.widget_item_url(tmp["params"]) : OrbitHelper.url_to_show(tmp["params"]) end tmp end