diff options
author | George Claghorn <george@basecamp.com> | 2018-10-17 09:53:02 -0400 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-10-17 09:53:02 -0400 |
commit | 88227658217ee82af7516d6a8013a6c04f037073 (patch) | |
tree | 8aabeb04ae7382c8dad999afddd3c864a7197e2e | |
parent | f8c0ddcf016661f9c508e71224d7722409ef0cec (diff) | |
download | rails-88227658217ee82af7516d6a8013a6c04f037073.tar.gz rails-88227658217ee82af7516d6a8013a6c04f037073.tar.bz2 rails-88227658217ee82af7516d6a8013a6c04f037073.zip |
Nest
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index f1bc9847f5..99a15d1d32 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -13,7 +13,8 @@ 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 - post ":inbound_email_id/reroute" => "reroutes#create", as: :rails_conductor_inbound_email_reroute + resources :inbound_emails, as: :rails_conductor_inbound_emails do + post "reroute" => "reroutes#create" + end end end |