posts: fix incorrect large_file_url for animated_gifs.
For animated_gif posts, large_file_url was returning "/data/sample-$md5.jpg" instead of "/data/$md5.gif".
This commit is contained in:
@@ -56,7 +56,7 @@ class StorageManager
|
||||
elsif type == :large && post.has_large?
|
||||
"#{base_url}/sample/#{subdir}#{seo_tags(post)}#{file}"
|
||||
else
|
||||
"#{base_url}/#{subdir}#{seo_tags(post)}#{file}"
|
||||
"#{base_url}/#{subdir}#{seo_tags(post)}#{post.md5}.#{post.file_ext}"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user