:protocol
オプションで指定すると、メール本文のURLがhttpsになります。
config.action_mailer.default_url_options = { :host => 'example.com', :protocol => 'https'}
More than 5 years have passed since last update.
:protocol
オプションで指定すると、メール本文のURLがhttpsになります。
config.action_mailer.default_url_options = { :host => 'example.com', :protocol => 'https'}
Register as a new user and use Qiita more conveniently