修改bug

This commit is contained in:
sylor_huang@126.com 2020-05-25 14:25:46 +08:00
parent 0b3683b99e
commit 569c33b254
1 changed files with 1 additions and 1 deletions

View File

@ -17,9 +17,9 @@ class Admins::ProjectsController < Admins::BaseController
# render_delete_success
redirect_to admins_projects_path
flash[:success] = "删除成功"
end
rescue Exception => e
redirect_to admins_projects_path
flash[:danger] = "删除失败"
end
end
end