Commit 285743ee authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #2070 from jouve/fix_destroy_project

fix destroy project from admin
parents d7c5885c b382ce4d
...@@ -40,7 +40,7 @@ class Admin::ProjectsController < AdminController ...@@ -40,7 +40,7 @@ class Admin::ProjectsController < AdminController
def destroy def destroy
@project.destroy @project.destroy
redirect_to projects_url, notice: 'Project was successfully deleted.' redirect_to admin_projects_path, notice: 'Project was successfully deleted.'
end end
protected protected
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment