Sha256: 41d8d07c9fb4333b6d5e3c027737a5ab2e0bdb0100e0fbe364c6e09ac8629e81

Contents?: true

Size: 270 Bytes

Versions: 3

Compression:

Stored size: 270 Bytes

Contents

class Recipes::Production < Rails::AppBuilder
  def create
    gsub_file "config/environments/production.rb", /(\# config.action_mailer.+)/i do |match|
      "#{match}\n  config.action_mailer.default_options = { from: ENV['DEFAULT_EMAIL_ADDRESS'] }\n"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
potassium-2.2.0 lib/potassium/recipes/production.rb
potassium-2.1.0 lib/potassium/recipes/production.rb
potassium-2.0.0 lib/potassium/recipes/production.rb