Merge pull request #2070 from jouve/fix_destroy_project

fix destroy project from admin
This commit is contained in:
Dmitriy Zaporozhets 2012-11-27 01:53:24 -08:00
commit 285743eee1

View file

@ -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