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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2e7f3792
Commit
2e7f3792
authored
Jul 10, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Preview namespace to EE extension so Rails
could find it better?
parent
700e532e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
42 deletions
+44
-42
app/mailers/previews/notify_preview.rb
app/mailers/previews/notify_preview.rb
+1
-1
ee/app/mailers/ee/preview/notify_preview.rb
ee/app/mailers/ee/preview/notify_preview.rb
+43
-41
No files found.
app/mailers/previews/notify_preview.rb
View file @
2e7f3792
class
NotifyPreview
<
ActionMailer
::
Preview
prepend
EE
::
NotifyPreview
prepend
EE
::
Preview
::
NotifyPreview
def
note_merge_request_email_for_individual_note
note_email
(
:note_merge_request_email
)
do
...
...
ee/app/mailers/ee/preview/notify_preview.rb
View file @
2e7f3792
module
EE
module
Preview
module
NotifyPreview
extend
ActiveSupport
::
Concern
...
...
@@ -56,4 +57,5 @@ module EE
@user
||=
User
.
first
end
end
end
end
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