Commit graph

6 commits

Author SHA1 Message Date
Alex Sherman
d4f49e6556 Revert "Introduce log_dir env variable for truemail and require it with figaro."
This reverts commit 76eed1ef08.
2020-07-17 16:58:42 +05:00
Georg Kahest
76eed1ef08 Introduce log_dir env variable for truemail and require it with figaro.
Use log_dir in truemail initializer.
2020-07-17 16:44:31 +05:00
Georg Kahest
99c787f94a remove figaro requires what are not common to all apps 2019-09-03 07:08:13 +03:00
Artur Beljajev
a113d75ec5 Remove hardcoded default email sender
And make it configurable via `action_mailer_default_from` config.

Closes #243
2019-04-18 19:01:59 +03:00
Artur Beljajev
70cf7f0e75 Revamp action_mailer config
`registrant_url` setting in `application.yml` is misnamed. In fact,
it has nothing to do with Registrant Portal. The intention is to
provide default URL options for `action_mailer`, therefore
`registrant_url` is removed, and new settings are introduced instead:

- `action_mailer_default_protocol`
- `action_mailer_default_host`
- `action_mailer_default_port`
2019-04-13 17:47:34 +03:00
Artur Beljajev
192591139f Refactor figaro config 2017-09-27 01:21:21 +03:00
Renamed from config/initializers/env_required.rb (Browse further)