diff options
author | http://jneen.net/ <jneen@jneen.net> | 2017-08-07 17:36:35 -0700 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2017-08-11 16:02:05 -0700 |
commit | 7416fbb398e21cf6931265f7f95f97f5fe73e187 (patch) | |
tree | 5b4fb4f47e420761e2c0c91030138d219699f12a | |
parent | 90dd3fb32c1205ddd31c1c2c89b297e9528e0da8 (diff) | |
download | gitlab-ce-7416fbb398e21cf6931265f7f95f97f5fe73e187.tar.gz |
rubocop fix
-rw-r--r-- | app/models/member.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index 57f85a9adaf..b26b5017183 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -276,14 +276,13 @@ class Member < ActiveRecord::Base @notification_setting ||= user.notification_settings_for(source) end - def notifiable?(type, opts={}) + def notifiable?(type, opts = {}) # always notify when there isn't a user yet return true if user.blank? NotificationRecipientService.notifiable?(user, type, notifiable_options.merge(opts)) end - private def send_invite |