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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
25924a90
Commit
25924a90
authored
Mar 31, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Email link https support
parent
8ee0993f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
app/mailers/notify.rb
app/mailers/notify.rb
+2
-0
config/gitlab.yml.example
config/gitlab.yml.example
+4
-0
No files found.
app/mailers/notify.rb
View file @
25924a90
class
Notify
<
ActionMailer
::
Base
class
Notify
<
ActionMailer
::
Base
default_url_options
[
:host
]
=
EMAIL_OPTS
[
"host"
]
default_url_options
[
:host
]
=
EMAIL_OPTS
[
"host"
]
default_url_options
[
:protocol
]
=
->
{
EMAIL_OPTS
[
"protocol"
]
?
EMAIL_OPTS
[
"protocol"
]
:
"http"
}.
call
default
from:
EMAIL_OPTS
[
"from"
]
default
from:
EMAIL_OPTS
[
"from"
]
def
new_user_email
(
user
,
password
)
def
new_user_email
(
user
,
password
)
...
...
config/gitlab.yml.example
View file @
25924a90
...
@@ -6,6 +6,10 @@ email:
...
@@ -6,6 +6,10 @@ email:
from: notify@gitlabhq.com
from: notify@gitlabhq.com
host: gitlabhq.com
host: gitlabhq.com
# Protocol used for links in email letters
# Value can be http or https
protocol: http # or https
# Git Hosting congiguration
# Git Hosting congiguration
git_host:
git_host:
system: gitolite
system: gitolite
...
...
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