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(
user, type,
custom_action: nil, custom_action: nil,
target: nil, target: nil,
acting_user: nil, acting_user: nil,
read_ability: nil, read_ability: nil,
project: 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