mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-02 10:09:51 -04:00
FIX: canonical link tag when using relative_url_root
This commit is contained in:
parent
de42c627c5
commit
cce8693354
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue