lib/pah/partials/_letter_opener.rb in pah-0.0.13 vs lib/pah/partials/_letter_opener.rb in pah-0.0.14
- old
+ new
@@ -3,11 +3,9 @@
# Letter openner config
config.action_mailer.delivery_method = :letter_opener
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
LETTER_OPENER
-in_root do
- inject_into_file 'config/environments/development.rb', letter_opener_config, { before: /^end/, verbose: false }
-end
+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.'