diff options
author | micael.bergeron <micaelbergeron@gmail.com> | 2017-11-21 21:06:38 +0300 |
---|---|---|
committer | micael.bergeron <micaelbergeron@gmail.com> | 2017-12-07 17:01:37 +0300 |
commit | 716f9cbb415cd425644b1aeae19844b26cc7d6b7 (patch) | |
tree | 3e5f66bcce10f2215f05412ea83f8465206256ce /app/models | |
parent | 3d8fbd12b8f234aa62f4b5ceed21076a7afbcd23 (diff) |
tidying up the changes
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/merge_request.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb index d60b9fb6b2d..949d42f865c 100644 --- a/app/models/merge_request.rb +++ b/app/models/merge_request.rb @@ -1021,13 +1021,4 @@ class MergeRequest < ActiveRecord::Base project.merge_requests.merged.where(author_id: author_id).empty? end - - def banzai_render_context(field) - # this will be used to reference these commit in the context of the MR - # the URL are built differently - { - merge_request: self, - mr_commit_shas: all_commit_shas - } - end end |