Sha256: b1c900fe04090d317137393af6fc8f270177056052bd81382459a4c15b278d55
Contents?: true
Size: 551 Bytes
Versions: 12
Compression:
Stored size: 551 Bytes
Contents
module Pah module Templates class LetterOpener < Pah::Template def call letter_opener_config = <<LETTER_OPENER # Letter openner config config.action_mailer.delivery_method = :letter_opener config.action_mailer.default_url_options = { :host => 'localhost:3000' } LETTER_OPENER inject_into_file 'config/environments/development.rb', letter_opener_config, before: /^end/, verbose: false git add: 'config/environments/development.rb' git_commit 'Add letter_opener config.' end end end end
Version data entries
12 entries across 12 versions & 1 rubygems