diff options
author | http://jneen.net/ <jneen@jneen.net> | 2017-08-04 21:53:36 +0300 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2017-08-12 02:02:02 +0300 |
commit | d5054abfcc1b27c664bff46ae6dc1482c591e5a9 (patch) | |
tree | e714301a429b02c8145e9e1e07abe3ab026fe1bf /app/models/member.rb | |
parent | 7e7f602d29fef237b5531795bd5c38541d14ea14 (diff) |
add Member#notifiable?(type, opts)
Diffstat (limited to 'app/models/member.rb')
-rw-r--r-- | app/models/member.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index dc9247bc9a0..b5f75c9bff0 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -332,4 +332,8 @@ class Member < ActiveRecord::Base def notification_service NotificationService.new end + + def notifiable?(type, opts={}) + raise 'abstract' + end end |