Show media of reblogged statuses in public html view

lolsob-rspec
Eugen Rochko 2016-10-10 18:23:08 +02:00
parent ad2a5cc79f
commit 43f73c35fd
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
.content= Formatter.instance.format(proper_status(status))
%ul.media-attachments
- status.media_attachments.each do |media|
- (status.reblog? ? status.reblog : status).media_attachments.each do |media|
%li.transparent-background= link_to '', media.file.url, style: "background-image: url(#{media.file.url(:small)})", target: '_blank'
- if include_threads