From cac6d048f86d463b3206b03dfe47958f10ac61aa Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Fri, 29 Jul 2011 11:21:13 -0700 Subject: [PATCH] Fix mobile views of reshares --- app/views/comments/{index.html.haml => index.haml} | 0 app/views/posts/show.mobile.haml | 2 ++ 2 files changed, 2 insertions(+) rename app/views/comments/{index.html.haml => index.haml} (100%) diff --git a/app/views/comments/index.html.haml b/app/views/comments/index.haml similarity index 100% rename from app/views/comments/index.html.haml rename to app/views/comments/index.haml diff --git a/app/views/posts/show.mobile.haml b/app/views/posts/show.mobile.haml index b2dcd6b2f..c5bd533b6 100644 --- a/app/views/posts/show.mobile.haml +++ b/app/views/posts/show.mobile.haml @@ -7,6 +7,8 @@ - if @post.activity_streams? = image_tag @post.image_url + - elsif reshare?(@post) + = render 'reshares/reshare', :reshare => @post, :post => @post.root - else %p = markdownify(@post.text, :youtube_maps => @post[:youtube_titles])