Makes it possible to paginate on print page

This commit is contained in:
Rafael dos Santos Silva 2016-08-04 01:16:09 -03:00
parent 9a46af59ad
commit 804019647e
1 changed files with 5 additions and 1 deletions

View File

@ -137,7 +137,11 @@ class TopicView
end
def relative_url
@topic.relative_url
if !@print
@topic.relative_url
else
@topic.relative_url + '/print'
end
end
def page_title