diff options
author | Paco Guzman <pacoguzmanp@gmail.com> | 2016-09-29 17:28:45 +0300 |
---|---|---|
committer | Paco Guzman <pacoguzmanp@gmail.com> | 2016-10-04 11:45:48 +0300 |
commit | 4ff345c488c993e9f67f34ad271bc98a1f3ffa61 (patch) | |
tree | b695447f54f09f45e1464fea038b4e0500538047 /app/services/system_note_service.rb | |
parent | ccd89ec965aa26812b4e48aabc15ca1594914b66 (diff) |
Simplify Mentionable concern instance methods
We remove some arguments that are rarely used or
used just to simplify setups on specs.
Modified Mentionable#create_new_cross_references method
we don’t need to calculate previous references to avoid the
duplication because we do that at database level when
creating references extracted from the current entity state.
MergeRequests won’t create cross_references for commits that are included so we change a spec to use a different merge request to make references to commits to other branches
Diffstat (limited to 'app/services/system_note_service.rb')
0 files changed, 0 insertions, 0 deletions