From 4586c63bd86fe3dad403086b15d5b74b6d67fc92 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Thu, 1 Feb 2024 12:23:31 +0100 Subject: general outbox routes --- views/outbox.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/outbox.erb b/views/outbox.erb index 23adb19..d5e3db5 100644 --- a/views/outbox.erb +++ b/views/outbox.erb @@ -10,9 +10,9 @@

pdp8@social.pdp8.info

music, pictures and videos: https://pdp8.info

- <% if @type == 'create' %> + <% if @activity == 'create' %>

posts | boosts

- <% elsif @type == 'announce' %> + <% elsif @activity == 'announce' %>

posts | boosts

<% end %> <% @objects.each do |object| @@ -29,7 +29,7 @@ when /audio/ %>
<% when /image/ %> -
'>' alt='<%= att['name'].gsub("'",''').gsub('"','"') if att['name'] %>'> +
'><%= att[' src='<%= att['url'] %>'> <% when /video/ %>
<% end %> -- cgit v1.2.3