summaryrefslogtreecommitdiff
path: root/app/models/sent_notification.rb
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/models/sent_notification.rb
parent26cedc7e0bd83fc488da3a4dc5265d395639215f (diff)
downloadgitlab-ce-be08490863b76026b8f3ffbc422cb7f5d8b4a6a4.tar.gz
#can_unsubscribe? -> #?unsubscribable?
Diffstat (limited to 'app/models/sent_notification.rb')
-rw-r--r--app/models/sent_notification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/sent_notification.rb b/app/models/sent_notification.rb
index 03108da17be..77115597d71 100644
--- a/app/models/sent_notification.rb
+++ b/app/models/sent_notification.rb
@@ -62,7 +62,7 @@ class SentNotification < ActiveRecord::Base
end
end
- def can_unsubscribe?
+ def unsubscribable?
!for_commit?
end