Skip to content

Commit

Permalink
add default_url_options
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya N. Zykin committed Feb 4, 2023
1 parent 2177f22 commit 8606110
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local

# link_to helper requires this setting
config.action_mailer.default_url_options = {
host: 'localhost:3000'
}

# Don't care if the mailer can't send.
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
Expand Down

0 comments on commit 8606110

Please sign in to comment.