aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-11-22 16:40:30 -0500
committerGeorge Claghorn <george@basecamp.com>2018-11-22 16:40:30 -0500
commit42f9cd62c34891474df7271d148cdb231ab73d90 (patch)
treeeb499b600f595d9e2c8ca9d1ccd12abd1cb9f368 /config/routes.rb
parentbe11dbbc401a2a4d7dd4004a4368a26923866981 (diff)
downloadrails-42f9cd62c34891474df7271d148cdb231ab73d90.tar.gz
rails-42f9cd62c34891474df7271d148cdb231ab73d90.tar.bz2
rails-42f9cd62c34891474df7271d148cdb231ab73d90.zip
Revert "Nest"
This reverts commit 88227658217ee82af7516d6a8013a6c04f037073.
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 99a15d1d32..f1bc9847f5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -13,8 +13,7 @@ Rails.application.routes.draw do
# TODO: Should these be mounted within the engine only?
scope "rails/conductor/action_mailbox/", module: "rails/conductor/action_mailbox" do
- resources :inbound_emails, as: :rails_conductor_inbound_emails do
- post "reroute" => "reroutes#create"
- end
+ resources :inbound_emails, as: :rails_conductor_inbound_emails
+ post ":inbound_email_id/reroute" => "reroutes#create", as: :rails_conductor_inbound_email_reroute
end
end