This commit is contained in:
albert
2011-11-11 18:32:43 -05:00
parent 995476b52a
commit dd3996fd64
4 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ class PostPresenter < Presenter
html << %{<a href="#{path}/#{post.id}">}
if post.is_image?
html << %{<img src="#{post.preview_file_url}">}
html << %{<img src="#{post.preview_file_url}" alt="#{h(post.tag_string)}">}
elsif post.is_flash?
html << '<div class="text-post-preview">Flash</div>'
else