Skip to content
Snippets Groups Projects
Commit 7416fbb3 authored by http://jneen.net/'s avatar http://jneen.net/
Browse files

rubocop fix

parent 90dd3fb3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment