diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-27 17:39:13 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-27 17:39:13 -0700 |
commit | e1486aa3535005175ae9859daba44b1e1d67f1d1 (patch) | |
tree | d1623ac451b3662531f81ad439a4832dfa144665 /config | |
parent | ab92058bbdb3240dca2fbf51d86a720ee7bce1ca (diff) | |
download | rails-e1486aa3535005175ae9859daba44b1e1d67f1d1.tar.gz rails-e1486aa3535005175ae9859daba44b1e1d67f1d1.tar.bz2 rails-e1486aa3535005175ae9859daba44b1e1d67f1d1.zip |
Flesh out conductor interface
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 7 |
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 |