diff options
author | DJ Mountney <dmountney@perforce.com> | 2015-02-23 16:19:03 -0800 |
---|---|---|
committer | DJ Mountney <dmountney@perforce.com> | 2015-02-23 16:19:03 -0800 |
commit | 746dd89ab010299f731c195082087d32f25698df (patch) | |
tree | 9650341b20290afe43e09fbaaf889111f176ccd7 | |
parent | c6860a5828fe569f6a81e2c96bb7e4a32f572a29 (diff) | |
download | gitlab-ce-746dd89ab010299f731c195082087d32f25698df.tar.gz |
Fix 404 when deleting a project
The deletion from the admin section was redirecting to the wrong address.
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 38341b1c8c6..d1583e6ebfb 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -102,7 +102,7 @@ class ProjectsController < ApplicationController flash[:alert] = 'Project deleted.' if request.referer.include?('/admin') - redirect_to admin_namespace_projects_path + redirect_to admin_namespaces_projects_path else redirect_to projects_dashboard_path end |