FIX: canonical link tag when using relative_url_root
This commit is contained in:
parent
de42c627c5
commit
cce8693354
|
@ -81,7 +81,7 @@ class TopicsController < ApplicationController
|
|||
|
||||
perform_show_response
|
||||
|
||||
canonical_url absolute_without_cdn(@topic_view.canonical_path)
|
||||
canonical_url absolute_without_cdn("#{Discourse.base_uri}#{@topic_view.canonical_path}")
|
||||
rescue Discourse::InvalidAccess => ex
|
||||
|
||||
if current_user
|
||||
|
|
Loading…
Reference in New Issue