Commit 378728b0 authored by Yorick Peterse's avatar Yorick Peterse

Move EE prepend/include to the end of mailers

This moves all instances of `prepend EE::Something` and `include
EE::Something` in mailers to the last line of the corresponding file.
This pushes EE specific code further down the files, reducing the
likelihood of developers running into merge conflicts.
parent 921d8895
# frozen_string_literal: true
class NotifyPreview < ActionMailer::Preview
prepend EE::Preview::NotifyPreview
def note_merge_request_email_for_individual_note
note_email(:note_merge_request_email) do
note = <<-MD.strip_heredoc
......@@ -196,3 +194,5 @@ class NotifyPreview < ActionMailer::Preview
email
end
end
NotifyPreview.prepend(EE::Preview::NotifyPreview)
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