fix destroy project from admin
This commit is contained in:
parent
1d857aae17
commit
b382ce4d91
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue