Use mailcatcher in development.
This commit is contained in:
parent
e5b3e22df6
commit
1ce92adc3f
1 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,10 @@ ContactORama::Application.configure do
|
|||
# do not compress assets
|
||||
config.assets.compress = false
|
||||
|
||||
# use mailcatcher in development (http://mailcatcher.me/)
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
|
||||
|
||||
# Expands the lines which load the assets
|
||||
config.assets.debug = true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue