FIX: Post link was broken in subfolders

This commit is contained in:
Robin Ward 2018-02-26 14:00:37 -05:00
parent ed3e0a4157
commit 72609f5107
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ after_initialize do
url = "/t/#{object[:post].topic_id}/#{object[:post].post_number}"
end
url
"#{Discourse.base_uri}#{url}"
end
def post_title