diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-29 14:03:23 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-03-30 10:44:20 +0200 |
commit | f8f68d6b8c5b5d85b4798257ae3ae4bf4ec8fadc (patch) | |
tree | fe85fbe85b13688a49ce4b5b5e716c5c26b13b18 /app/models/member.rb | |
parent | 71e7b398431506c8bac2e8e6014b0f3891a41f95 (diff) | |
download | gitlab-ce-f8f68d6b8c5b5d85b4798257ae3ae4bf4ec8fadc.tar.gz |
Fix few bugs related to recent notifications refactoring
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/member.rb')
-rw-r--r-- | app/models/member.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index 747d0f16d8d..7d5af1d5c8a 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -163,7 +163,7 @@ class Member < ActiveRecord::Base end def create_notification_setting - user.notification_setting.find_or_create_for(source) + user.notification_settings.find_or_create_for(source) end def notification_setting |