summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <mail@zjvandeweg.nl>2016-01-11 14:23:45 +0100
committerZeger-Jan van de Weg <mail@zjvandeweg.nl>2016-01-11 14:23:45 +0100
commitbe08490863b76026b8f3ffbc422cb7f5d8b4a6a4 (patch)
treef8d6e28e262c1081b3b30bc45737b915c716c7ab /app/views/layouts
parent26cedc7e0bd83fc488da3a4dc5265d395639215f (diff)
downloadgitlab-ce-be08490863b76026b8f3ffbc422cb7f5d8b4a6a4.tar.gz
#can_unsubscribe? -> #?unsubscribable?
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/notify.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml
index 07f9be12f99..325c68c69dc 100644
--- a/app/views/layouts/notify.html.haml
+++ b/app/views/layouts/notify.html.haml
@@ -45,7 +45,7 @@
-# Don't link the host is the line below, one link in the email is easier to quickly click than two.
You're receiving this email because of your account on #{Gitlab.config.gitlab.host}.
If you'd like to receive fewer emails, you can
- - if @sent_notification && @sent_notification.can_unsubscribe?
+ - if @sent_notification && @sent_notification.unsubscribable?
= link_to "unsubscribe", unsubscribe_sent_notification_url(@sent_notification)
from this thread or
adjust your notification settings.