mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 04:34:13 -06:00
Makes it possible to paginate on print page
This commit is contained in:
parent
9a46af59ad
commit
804019647e
@ -137,7 +137,11 @@ class TopicView
|
||||
end
|
||||
|
||||
def relative_url
|
||||
if !@print
|
||||
@topic.relative_url
|
||||
else
|
||||
@topic.relative_url + '/print'
|
||||
end
|
||||
end
|
||||
|
||||
def page_title
|
||||
|
Loading…
Reference in New Issue
Block a user