summaryrefslogtreecommitdiff
path: root/views/outbox.erb
diff options
context:
space:
mode:
Diffstat (limited to 'views/outbox.erb')
-rw-r--r--views/outbox.erb3
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&nbsp;|&nbsp;<a href='/outbox/announce'>boosts</a></h2>
- <% elsif @type = 'announce' %>
+ <% elsif @type == 'announce' %>
<h2><a href='/outbox/create'>posts</a>&nbsp;|&nbsp;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>&nbsp;