diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-08 17:14:02 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-08 17:53:16 +0100 |
commit | f87f6480b2ff6a80b50aa275f9c5d60c30d75b40 (patch) | |
tree | 1bebd32a5c5ed98a3b6c9514b72c348e66645268 /app/controllers/projects_controller.rb | |
parent | 1489d225d6763b0fdc3f418692e646587e06938a (diff) | |
download | gitlab-ce-f87f6480b2ff6a80b50aa275f9c5d60c30d75b40.tar.gz |
Use new routing helper
Diffstat (limited to 'app/controllers/projects_controller.rb')
-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 0bbaa93b0df..f4d1a828aab 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -109,7 +109,7 @@ class ProjectsController < ApplicationController if request.referer.include?('/admin') redirect_to admin_namespaces_projects_path else - redirect_to dashboard_path + redirect_to dashboard_projects_path end rescue Projects::DestroyService::DestroyError => ex redirect_to edit_project_path(@project), alert: ex.message |