diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-17 22:32:05 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-17 22:32:05 -0700 |
commit | 65a6d525c6ce36acefd4b1918bbc5f14132e7810 (patch) | |
tree | c02971982bb4dd89df121288bea38292891f12c4 /config | |
parent | dd55bf66d27ce59405e7c1487f2f6edc61934dba (diff) | |
download | rails-65a6d525c6ce36acefd4b1918bbc5f14132e7810.tar.gz rails-65a6d525c6ce36acefd4b1918bbc5f14132e7810.tar.bz2 rails-65a6d525c6ce36acefd4b1918bbc5f14132e7810.zip |
Add basic, unauthenticated inbound emails controller
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000000..1ba01f4bf9 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +Rails.application.routes.draw do + scope :action_mailroom do + post "/inbound_emails" => "action_mailroom/inbound_emails#create", as: :rails_inbound_emails + end +end |