Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
9d53418a
Commit
9d53418a
authored
Aug 01, 2017
by
http://jneen.net/
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clearer argument name
parent
e5496e1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/services/notification_recipient_service.rb
app/services/notification_recipient_service.rb
+2
-2
No files found.
app/services/notification_recipient_service.rb
View file @
9d53418a
...
@@ -48,8 +48,8 @@ module NotificationRecipientService
...
@@ -48,8 +48,8 @@ module NotificationRecipientService
@recipients
||=
[]
@recipients
||=
[]
end
end
def
<<
(
arg
)
def
<<
(
pair
)
users
,
type
=
arg
users
,
type
=
pair
if
users
.
is_a?
(
ActiveRecord
::
Relation
)
if
users
.
is_a?
(
ActiveRecord
::
Relation
)
users
=
users
.
includes
(
:notification_settings
)
users
=
users
.
includes
(
:notification_settings
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment