diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-14 12:08:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-14 12:08:04 +0300 |
commit | 3ed578edf525bce3167860b84f6b43bab5065cf5 (patch) | |
tree | da8ec39db487cb0023469ec0b2d70bfe2352d500 /app/models/member.rb | |
parent | ab4409930970b7974b721fee957baf4f403e51ff (diff) |
Add latest changes from gitlab-org/gitlab@master
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 ff1d8f18c25..80c5fd7e468 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -286,7 +286,7 @@ class Member < ApplicationRecord refresh_member_authorized_projects(blocking: false) end - default_value_for :notification_level, NotificationSetting.levels[:global] + attribute :notification_level, default: -> { NotificationSetting.levels[:global] } class << self def search(query) |