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
fb0a0304
Commit
fb0a0304
authored
Jan 12, 2022
by
Baodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prepend EmailsController and ConfirmService
parent
f6ac0382
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
app/controllers/profiles/emails_controller.rb
app/controllers/profiles/emails_controller.rb
+2
-0
app/services/emails/confirm_service.rb
app/services/emails/confirm_service.rb
+2
-0
No files found.
app/controllers/profiles/emails_controller.rb
View file @
fb0a0304
...
...
@@ -52,3 +52,5 @@ class Profiles::EmailsController < Profiles::ApplicationController
@email
=
current_user
.
emails
.
find
(
params
[
:id
])
end
end
Profiles
::
EmailsController
.
prepend_mod
app/services/emails/confirm_service.rb
View file @
fb0a0304
...
...
@@ -7,3 +7,5 @@ module Emails
end
end
end
Emails
::
ConfirmService
.
prepend_mod
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