From b382ce4d9195b42819a2767880f5f14a5a5ec8e6 Mon Sep 17 00:00:00 2001 From: Cyril Date: Mon, 26 Nov 2012 01:22:44 +0100 Subject: [PATCH] fix destroy project from admin --- app/controllers/admin/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/projects_controller.rb b/app/controllers/admin/projects_controller.rb index 42bd6aeb..c3a419af 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