Commit 285743eee14b5bff83e24196536b3a9784a5fd45
Exists in
master
and in
4 other branches
Merge pull request #2070 from jouve/fix_destroy_project
fix destroy project from admin
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/admin/projects_controller.rb
@@ -40,7 +40,7 @@ class Admin::ProjectsController < AdminController | @@ -40,7 +40,7 @@ class Admin::ProjectsController < AdminController | ||
40 | def destroy | 40 | def destroy |
41 | @project.destroy | 41 | @project.destroy |
42 | 42 | ||
43 | - redirect_to projects_url, notice: 'Project was successfully deleted.' | 43 | + redirect_to admin_projects_path, notice: 'Project was successfully deleted.' |
44 | end | 44 | end |
45 | 45 | ||
46 | protected | 46 | protected |