mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: store the topic links using the cooked upload url
This commit is contained in:
@@ -106,7 +106,7 @@ module UserNotificationsHelper
|
||||
|
||||
def url_for_email(href)
|
||||
URI(href).host.present? ? href : UrlHelper.absolute("#{Discourse.base_uri}#{href}")
|
||||
rescue URI::InvalidURIError, URI::InvalidComponentError
|
||||
rescue URI::Error
|
||||
href
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user