diff --git a/config/environments/development.rb b/config/environments/development.rb index 2597a08..7168383 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -31,6 +31,8 @@ DanBarberPhoto::Application.configure do # Expands the lines which load the assets config.assets.debug = true + config.assets.check_precompiled_asset = false + config.action_mailer.delivery_method = :letter_opener config.action_mailer.default_url_options = {host: "danbarberphoto.dev"} diff --git a/config/environments/production.rb b/config/environments/production.rb index 94ac5fb..9cfcf4a 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -21,7 +21,7 @@ DanBarberPhoto::Application.configure do config.assets.compress = true # Don't fallback to assets pipeline if a precompiled asset is missed - config.assets.compile = false + config.assets.compile = true # Generate digests for assets URLs config.assets.digest = true