diff options
Diffstat (limited to 'actionmailbox/lib/rails/generators/installer.rb')
-rw-r--r-- | actionmailbox/lib/rails/generators/installer.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/actionmailbox/lib/rails/generators/installer.rb b/actionmailbox/lib/rails/generators/installer.rb new file mode 100644 index 0000000000..25cf528ef5 --- /dev/null +++ b/actionmailbox/lib/rails/generators/installer.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +say "Copying application_mailbox.rb to app/mailboxes" +copy_file "#{__dir__}/mailbox/templates/application_mailbox.rb", "app/mailboxes/application_mailbox.rb" + +environment <<~end_of_config, env: "production" + # Prepare the ingress controller used to receive mail + # config.action_mailbox.ingress = :amazon + +end_of_config |