diff options
author | George Claghorn <george@basecamp.com> | 2018-10-01 17:48:44 -0400 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-10-01 17:48:44 -0400 |
commit | 622901636b417731e4239359feef7cf6943b8b3c (patch) | |
tree | 58dc407940664c1a10bc74a2fe07b71cef410592 /lib/action_mailbox/router | |
parent | 704179251f3a96f7e7f2ed9b28e1524ace3a4927 (diff) | |
download | rails-622901636b417731e4239359feef7cf6943b8b3c.tar.gz rails-622901636b417731e4239359feef7cf6943b8b3c.tar.bz2 rails-622901636b417731e4239359feef7cf6943b8b3c.zip |
Support nesting mailboxes in modules
Diffstat (limited to 'lib/action_mailbox/router')
-rw-r--r-- | lib/action_mailbox/router/route.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_mailbox/router/route.rb b/lib/action_mailbox/router/route.rb index 7be4407339..e9acf310b1 100644 --- a/lib/action_mailbox/router/route.rb +++ b/lib/action_mailbox/router/route.rb @@ -21,7 +21,7 @@ class ActionMailbox::Router::Route end def mailbox_class - "#{mailbox_name.to_s.capitalize}Mailbox".constantize + "#{mailbox_name.to_s.camelize}Mailbox".constantize end private |