diff options
author | pdp8 <pdp8@pdp8.info> | 2023-12-20 11:20:50 +0100 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2023-12-20 11:20:50 +0100 |
commit | 88518c5a4fa4fa9d841bb0d1c8add9fa2234530c (patch) | |
tree | 8a808ff352841779637c6bd1aa171e94c2c55cdf /views/outbox.erb | |
parent | 443b6fd42abf9cb1392125199cca449702898327 (diff) |
follow, announce, delete fixed
Diffstat (limited to 'views/outbox.erb')
-rw-r--r-- | views/outbox.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/outbox.erb b/views/outbox.erb index 0efb78c..23adb19 100644 --- a/views/outbox.erb +++ b/views/outbox.erb @@ -12,10 +12,11 @@ <p> <% if @type == 'create' %> <h2>posts | <a href='/outbox/announce'>boosts</a></h2> - <% elsif @type = 'announce' %> + <% elsif @type == 'announce' %> <h2><a href='/outbox/create'>posts</a> | boosts</h2> <% end %> <% @objects.each do |object| + object = fetch(object) if object.is_a? String mention = mention object['attributedTo'] %> <div class='pdp8'> <p><b><a href='<%= object['attributedTo'] %>' target='_blank'><%= mention %></a></b> |