summaryrefslogtreecommitdiff
path: root/views/inbox.erb
diff options
context:
space:
mode:
Diffstat (limited to 'views/inbox.erb')
-rw-r--r--views/inbox.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/inbox.erb b/views/inbox.erb
index a3e3f83..0be5dd5 100644
--- a/views/inbox.erb
+++ b/views/inbox.erb
@@ -8,7 +8,7 @@
<% item = JSON.parse(File.read(file))
mention = mention(item['attributedTo'])
following_path = File.join('public', 'following', mention + '.json') %>
- <b><a href='<%= item['attributedTo'] %>', target='_blank'><%= mention %></a></b>&nbsp;<i><%= item['published'].sub('T', ' ') %></i>
+ <b><a href='<%= item['attributedTo'] %>', target='_blank'><%= mention %></a></b>&nbsp;
<% File.exists?(following_path) ? method = 'unfollow' : method = 'follow' %>
<form action='<%= File.join method, mention %>' method='post'>
<button><%= method.capitalize %></button>