Commit b382ce4d authored by Cyril's avatar Cyril

fix destroy project from admin

parent 1d857aae
...@@ -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