diff options
author | Luke Picciau <git@itscode.red> | 2019-05-29 20:18:40 +0000 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-05-29 20:18:40 +0000 |
commit | ffe6cb57a64021dc593037ec18464fd728168ad1 (patch) | |
tree | 6e0d84f6548bb7bb81fe9884c9c6a465b808ede6 /config | |
parent | 76471e2f2752da661b7501b7b478316c1003b02b (diff) | |
download | gitlab-ce-ffe6cb57a64021dc593037ec18464fd728168ad1.tar.gz |
Redirect to admin projects index if project was deleted from admin page
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/admin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb index bc19219a0b8..ae79beb1dba 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -83,7 +83,7 @@ namespace :admin do resources(:projects, path: '/', constraints: { id: Gitlab::PathRegex.project_route_regex }, - only: [:show]) do + only: [:show, :destroy]) do member do put :transfer |