FIX: Embedding posts was broken

This commit is contained in:
Robin Ward 2015-06-26 11:45:56 -04:00
parent db02dbb0da
commit 008dd96721

View file

@ -13,7 +13,7 @@ class TopicRetriever
private
def invalid_host?
SiteSetting.allows_embeddable_host?(@embed_url)
!SiteSetting.allows_embeddable_host?(@embed_url)
end
def retrieved_recently?