about summary refs log tree commit diff stats
path: root/config/environments
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb2
-rw-r--r--config/environments/production.rb4
2 files changed, 5 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 5187e22..1b0c4b3 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb
@@ -51,4 +51,6 @@ Rails.application.configure do
51 # Use an evented file watcher to asynchronously detect changes in source code, 51 # Use an evented file watcher to asynchronously detect changes in source code,
52 # routes, locales, etc. This feature depends on the listen gem. 52 # routes, locales, etc. This feature depends on the listen gem.
53 config.file_watcher = ActiveSupport::EventedFileUpdateChecker 53 config.file_watcher = ActiveSupport::EventedFileUpdateChecker
54
55 config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
54end 56end
diff --git a/config/environments/production.rb b/config/environments/production.rb index 3606f65..03d15d1 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb
@@ -45,7 +45,7 @@ Rails.application.configure do
45 # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] 45 # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
46 46
47 # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. 47 # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
48 # config.force_ssl = true 48 config.force_ssl = true
49 49
50 # Use the lowest log level to ensure availability of diagnostic information 50 # Use the lowest log level to ensure availability of diagnostic information
51 # when problems arise. 51 # when problems arise.
@@ -66,6 +66,8 @@ Rails.application.configure do
66 # Set this to true and configure the email server for immediate delivery to raise delivery errors. 66 # Set this to true and configure the email server for immediate delivery to raise delivery errors.
67 # config.action_mailer.raise_delivery_errors = false 67 # config.action_mailer.raise_delivery_errors = false
68 68
69 config.action_mailer.default_url_options = { host: 'feffernoo.se' }
70
69 # Enable locale fallbacks for I18n (makes lookups for any locale fall back to 71 # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
70 # the I18n.default_locale when a translation cannot be found). 72 # the I18n.default_locale when a translation cannot be found).
71 config.i18n.fallbacks = true 73 config.i18n.fallbacks = true