Commit b382ce4d9195b42819a2767880f5f14a5a5ec8e6
1 parent
1d857aae
Exists in
master
and in
4 other branches
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 |