aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
blob: 26151c338d0bfaeda69ba0df9e4dc94ed2660e9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

Rails.application.routes.draw do
  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