Commit graph

3 commits

Author SHA1 Message Date
Stan Hu
47b1528abe Fix undefined method one? when pushing to an existing merge request
An untested code path was triggering an Exception because Fixnum
doesn't have `one?` implemented in Rails, while arrays and collections
do.

Closes #45152
2018-04-07 23:43:40 -07:00
Sean McGivern
682eb75834 Fix body of email when commits are pushed to an MR
This was sending the current user, which is the recipient! It should be the user
who pushed the commits.
2018-04-03 13:22:25 +01:00
YarNayar
99b01e2359 Send notification emails when push to a merge request
Closes #23460
2018-03-26 13:24:52 +01:00