about summary refs log tree commit diff
path: root/app/views/stream_entries/embed.html.haml
diff options
context:
space:
mode:
authorRenato "Lond" Cerqueira <renato@lond.com.br>2018-08-30 23:14:01 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-08-30 23:14:01 +0200
commit11658d8653c7caadddfb0e3fe27272107c2e87b1 (patch)
tree03c402b01b09f7a0851e3e1a1dae05c889b5605f /app/views/stream_entries/embed.html.haml
parent5b2b493a908cbea55096f7f028c306f6270e3b00 (diff)
Add animate custom emoji param to embed pages (#8507)
* Add animate custom emoji param to embed pages

* Rename param, use it for avatars and gifs

* Fix issues pointed by codeclimate and breaking test

* Ignore brakeman warning
Diffstat (limited to 'app/views/stream_entries/embed.html.haml')
-rw-r--r--app/views/stream_entries/embed.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stream_entries/embed.html.haml b/app/views/stream_entries/embed.html.haml
index d20c1e93e..4871c101e 100644
--- a/app/views/stream_entries/embed.html.haml
+++ b/app/views/stream_entries/embed.html.haml
@@ -1,3 +1,3 @@
 - cache @stream_entry.activity do
   .activity-stream.activity-stream--headless
-    = render "stream_entries/#{@type}", @type.to_sym => @stream_entry.activity, centered: true
+    = render "stream_entries/#{@type}", @type.to_sym => @stream_entry.activity, centered: true, autoplay: @autoplay