Merge pull request #14 from sgmap/customizable-emails
Customizable emails
This commit is contained in:
commit
3c6ae2d005
38 changed files with 722 additions and 143 deletions
|
@ -42,6 +42,17 @@ Rails.application.configure do
|
|||
# Action Mailer settings
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
||||
Rails.application.routes.default_url_options = {
|
||||
host: 'localhost:3000',
|
||||
protocol: :http
|
||||
}
|
||||
|
||||
# Config for mailcatcher https://mailcatcher.me/
|
||||
config.action_mailer.smtp_settings = {
|
||||
:address => "localhost",
|
||||
:port => 1025,
|
||||
:locale => 'fr'
|
||||
}
|
||||
|
||||
# Config for mailcatcher https://mailcatcher.me/
|
||||
config.action_mailer.smtp_settings = {
|
||||
|
|
|
@ -76,4 +76,8 @@ Rails.application.configure do
|
|||
|
||||
# Do not dump schema after migrations.
|
||||
config.active_record.dump_schema_after_migration = false
|
||||
|
||||
Rails.application.routes.default_url_options = {
|
||||
protocol: :https
|
||||
}
|
||||
end
|
||||
|
|
|
@ -39,6 +39,10 @@ Rails.application.configure do
|
|||
|
||||
config.action_mailer.delivery_method = :test
|
||||
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
|
||||
Rails.application.routes.default_url_options = {
|
||||
host: 'localhost:3000',
|
||||
protocol: :http
|
||||
}
|
||||
|
||||
# Raises error for missing translations
|
||||
# config.action_view.raise_on_missing_translations = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue