Email link https support
This commit is contained in:
parent
8ee0993fdf
commit
25924a9089
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
class Notify < ActionMailer::Base
|
||||
default_url_options[:host] = EMAIL_OPTS["host"]
|
||||
default_url_options[:protocol] = -> { EMAIL_OPTS["protocol"] ? EMAIL_OPTS["protocol"] : "http" }.call
|
||||
|
||||
default from: EMAIL_OPTS["from"]
|
||||
|
||||
def new_user_email(user, password)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue