Skip to content

Commit

Permalink
FIX: Use the full URL for reviewable content to make the API easier
Browse files Browse the repository at this point in the history
  • Loading branch information
eviltrout committed May 31, 2019
1 parent a259863 commit 743ce09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reviewable/conversation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def initialize(post)
def initialize(meta_topic)
@id = meta_topic.id
@has_more = false
@permalink = meta_topic.relative_url
@permalink = "#{Discourse.base_url}#{meta_topic.relative_url}"
@posts = []

meta_posts = meta_topic.ordered_posts.where(post_type: ::Post.types[:regular]).limit(2)
Expand Down

0 comments on commit 743ce09

Please sign in to comment.