diff options
author | Cyril <jv.cyril@gmail.com> | 2012-11-26 04:22:44 +0400 |
---|---|---|
committer | Cyril <jv.cyril@gmail.com> | 2012-11-26 04:22:44 +0400 |
commit | b382ce4d9195b42819a2767880f5f14a5a5ec8e6 (patch) | |
tree | edf052f60ec037c306a0f91f9571e1cc343bf74c /app | |
parent | 1d857aae17a2f7a3bc759707f0fb642943d9569e (diff) |
fix destroy project from admin
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/admin/projects_controller.rb | 2 |
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 |