aboutsummaryrefslogtreecommitdiffstats
path: root/lib/generators/rails/templates/application_mailbox.rb.tt
diff options
context:
space:
mode:
authorDino Maric <dino.onex@gmail.com>2018-12-15 13:41:23 +0100
committerDino Maric <dino.onex@gmail.com>2018-12-15 16:33:39 +0100
commit8415a6c5cf883f7ce6fe93b80ec99072fb04be83 (patch)
tree17a4e88934c3f9dee74ef9ce880acb3d8869645e /lib/generators/rails/templates/application_mailbox.rb.tt
parent749e923539075eef407e5d9b8c7c151a3b3171d4 (diff)
downloadrails-8415a6c5cf883f7ce6fe93b80ec99072fb04be83.tar.gz
rails-8415a6c5cf883f7ce6fe93b80ec99072fb04be83.tar.bz2
rails-8415a6c5cf883f7ce6fe93b80ec99072fb04be83.zip
Fix Rails generators
1.Don't generate ApplicationMailboxTest when executing installer 2. Hookup test_unit, so console doesn't throw errors
Diffstat (limited to 'lib/generators/rails/templates/application_mailbox.rb.tt')
-rw-r--r--lib/generators/rails/templates/application_mailbox.rb.tt5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/generators/rails/templates/application_mailbox.rb.tt b/lib/generators/rails/templates/application_mailbox.rb.tt
new file mode 100644
index 0000000000..be51eb3639
--- /dev/null
+++ b/lib/generators/rails/templates/application_mailbox.rb.tt
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+class ApplicationMailbox < ActionMailbox::Base
+ # routing /something/i => :somewhere
+end