diff options
author | Rhenium <rhenium@rhe.jp> | 2014-02-11 00:50:49 +0900 |
---|---|---|
committer | Rhenium <rhenium@rhe.jp> | 2014-02-11 00:50:49 +0900 |
commit | 33689cbce02d01aa59aab7d2aaba9e7127aacd9f (patch) | |
tree | f9642a7f081d4360b38e0d5ce842ee3c1c6d3670 /app/views | |
parent | 051a858e2cad2f09f70d0b221f508fc4f30db964 (diff) | |
download | aclog-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.haml | 4 |
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) |