mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Second review fixes
This commit is contained in:
@@ -137,11 +137,7 @@ class TopicView
|
||||
end
|
||||
|
||||
def relative_url
|
||||
if !@print
|
||||
@topic.relative_url
|
||||
else
|
||||
@topic.relative_url + '/print'
|
||||
end
|
||||
"#{@topic.relative_url}#{@print ? '/print' : ''}"
|
||||
end
|
||||
|
||||
def page_title
|
||||
|
||||
Reference in New Issue
Block a user