diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 |
commit | 7e2e42379cb40a500eb8a236c05788eb3e84d141 (patch) | |
tree | 784dfe04f81b034889b96b5c251923da7e6f3a1e /config/environments | |
parent | 275218aeaf24d4f9d58589cf68ec6647f0a65050 (diff) | |
download | thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.gz thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.bz2 thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.zip |
Added logging in and logging out
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/development.rb | 2 | ||||
-rw-r--r-- | config/environments/production.rb | 4 |
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 } | ||
54 | end | 56 | end |
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 |