Second review fixes

This commit is contained in:
Rafael dos Santos Silva
2016-08-09 00:53:08 -03:00
parent f96fffeb34
commit 0229df4c73
5 changed files with 14 additions and 23 deletions

View File

@@ -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