WebM support

This commit is contained in:
Toks
2014-06-30 13:21:07 -04:00
parent 1a2517634a
commit a84850c094
8 changed files with 87 additions and 18 deletions

View File

@@ -155,6 +155,8 @@ class PostPresenter < Presenter
if @post.is_flash?
template.render("posts/partials/show/flash", :post => @post)
elsif @post.is_video?
template.render("posts/partials/show/video", :post => @post)
elsif !@post.is_image?
template.render("posts/partials/show/download", :post => @post)
elsif @post.is_image?