about summary refs log tree commit diff
path: root/app/views/notification_mailer
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-13 14:01:21 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-13 14:02:34 +0100
commitd42ed78aa432e448346f2b9585ee983e08631ba0 (patch)
tree756f0c517e8f4036d34a2acc51ca9d0094a08b8e /app/views/notification_mailer
parentc4eb63c1d41c613ceacf668cd7d9443c4c823963 (diff)
Fix #110 - Make web UI use browser history, change links in e-mails to link to that
Diffstat (limited to 'app/views/notification_mailer')
-rw-r--r--app/views/notification_mailer/_status.text.erb2
-rw-r--r--app/views/notification_mailer/follow.text.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/notification_mailer/_status.text.erb b/app/views/notification_mailer/_status.text.erb
index 24c154364..b089a7b73 100644
--- a/app/views/notification_mailer/_status.text.erb
+++ b/app/views/notification_mailer/_status.text.erb
@@ -1,3 +1,3 @@
 <%= strip_tags(@status.content) %>
 
-<%= TagManager.instance.url_for(@status) %>
+<%= web_url("statuses/#{@status.id}") %>
diff --git a/app/views/notification_mailer/follow.text.erb b/app/views/notification_mailer/follow.text.erb
index a13b6d7a9..4098e4846 100644
--- a/app/views/notification_mailer/follow.text.erb
+++ b/app/views/notification_mailer/follow.text.erb
@@ -2,4 +2,4 @@
 
 <%= @account.acct %> is now following you!
 
-<%= TagManager.instance.url_for(@account) %>
+<%= web_url("accounts/#{@account.id}") %>