Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril <jv.cyril@gmail.com>2012-11-26 04:22:44 +0400
committerCyril <jv.cyril@gmail.com>2012-11-26 04:22:44 +0400
commitb382ce4d9195b42819a2767880f5f14a5a5ec8e6 (patch)
treeedf052f60ec037c306a0f91f9571e1cc343bf74c /app/controllers/admin/projects_controller.rb
parent1d857aae17a2f7a3bc759707f0fb642943d9569e (diff)
fix destroy project from admin
Diffstat (limited to 'app/controllers/admin/projects_controller.rb')
-rw-r--r--app/controllers/admin/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/projects_controller.rb b/app/controllers/admin/projects_controller.rb
index 42bd6aebbb0..c3a419afd0f 100644
--- a/app/controllers/admin/projects_controller.rb
+++ b/app/controllers/admin/projects_controller.rb
@@ -40,7 +40,7 @@ class Admin::ProjectsController < AdminController
def destroy
@project.destroy
- redirect_to projects_url, notice: 'Project was successfully deleted.'
+ redirect_to admin_projects_path, notice: 'Project was successfully deleted.'
end
protected