aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorRhenium <rhenium@rhe.jp>2014-02-11 00:50:49 +0900
committerRhenium <rhenium@rhe.jp>2014-02-11 00:50:49 +0900
commit33689cbce02d01aa59aab7d2aaba9e7127aacd9f (patch)
treef9642a7f081d4360b38e0d5ce842ee3c1c6d3670 /app/views
parent051a858e2cad2f09f70d0b221f508fc4f30db964 (diff)
downloadaclog-33689cbce02d01aa59aab7d2aaba9e7127aacd9f.tar.gz
show reply tree on tweets/show (single tweet page)
Diffstat (limited to 'app/views')
-rw-r--r--app/views/tweets/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/tweets/show.html.haml b/app/views/tweets/show.html.haml
index b1184cb..c41ebf6 100644
--- a/app/views/tweets/show.html.haml
+++ b/app/views/tweets/show.html.haml
@@ -1,7 +1,11 @@
- title CGI.unescapeHTML(strip_tags(format_tweet_text(@tweet.text))) + " from @" + @user.screen_name
- caption @user.screen_name + "'s Tweet"
- sidebar :users
+= render partial: "tweet_without_stats", collection: @replies_before, as: :tweet
+%hr
= render @tweet
+%hr
+= render partial: "tweet_without_stats", collection: @replies_after, as: :tweet
- if logged_in?
.pull-right
%span.import= link_to "update", import_path(@tweet.id)