diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-29 05:03:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-29 05:03:19 +0200 |
commit | 163ed91af381d86bb6c52546c983effa4c9a18c3 (patch) | |
tree | 7de16b4e51f122c292819b323deb2cca99b7d337 /config/routes.rb | |
parent | b0cda7a504655f6ced33802af67cabb6f3e46e19 (diff) |
Add (back) option to set redirect notice on account without moving followers (#11994)
Fix #11913
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb index 37e0cbdee..f1a69cf5c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -134,11 +134,10 @@ Rails.application.routes.draw do end resource :delete, only: [:show, :destroy] + resource :migration, only: [:show, :create] - resource :migration, only: [:show, :create] do - collection do - post :cancel - end + namespace :migration do + resource :redirect, only: [:new, :create, :destroy] end resources :aliases, only: [:index, :create, :destroy] |