Merge pull request #2070 from jouve/fix_destroy_project
fix destroy project from admin
This commit is contained in:
commit
285743eee1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue