Commit 18288fe2 authored by http://jneen.net/'s avatar http://jneen.net/

style fixes

parent e7d136eb
class NotificationRecipient class NotificationRecipient
attr_reader :user, :type attr_reader :user, :type
def initialize(user, type, def initialize(
custom_action: nil, user, type,
target: nil, custom_action: nil,
acting_user: nil, target: nil,
read_ability: nil, acting_user: nil,
project: nil) read_ability: nil,
project: nil
)
@custom_action = custom_action @custom_action = custom_action
@acting_user = acting_user @acting_user = acting_user
@read_ability = read_ability @read_ability = read_ability
...@@ -103,4 +105,3 @@ class NotificationRecipient ...@@ -103,4 +105,3 @@ class NotificationRecipient
user.global_notification_setting user.global_notification_setting
end end
end end
...@@ -56,7 +56,8 @@ module NotificationRecipientService ...@@ -56,7 +56,8 @@ module NotificationRecipientService
end end
def make_recipient(user, type) def make_recipient(user, type)
NotificationRecipient.new(user, type, NotificationRecipient.new(
user, type,
project: project, project: project,
custom_action: custom_action, custom_action: custom_action,
target: target, target: target,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment