FIX: don't use the CDN for attachments when login is required

This commit is contained in:
Régis Hanol
2016-01-06 21:54:01 +01:00
parent f654528aa4
commit dcd0270d52
3 changed files with 19 additions and 3 deletions

View File

@@ -96,6 +96,7 @@ Fabricator(:post_with_uploads_and_links, from: :post) do
<img src="/uploads/default/1/1234567890123456.jpg">
<a href="http://www.google.com">Google</a>
<img src="http://foo.bar/image.png">
<a class="attachment" href="/uploads/default/original/1X/af2c2618032c679333bebf745e75f9088748d737.txt">text.txt</a> (20 Bytes)
'
end