aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index e19c641a68..26151c338d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,7 +1,10 @@
# frozen_string_literal: true
Rails.application.routes.draw do
- scope 'rails/action_mailroom', module: 'action_mailroom' do
- resources :inbound_emails, as: :rails_inbound_emails
+ post "/rails/action_mailroom/inbound_emails" => "action_mailroom/inbound_emails#create", as: :rails_inbound_emails
+
+ # TODO: Should these be mounted within the engine only?
+ scope "rails/conductor/action_mailroom/", module: "rails/conductor/action_mailroom" do
+ resources :inbound_emails, as: :rails_conductor_inbound_emails
end
end