mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Test the admin pages, if read/list/delete is working.
This commit is contained in:
parent
7e8752d1a2
commit
dd1dc54d97
27 changed files with 858 additions and 109 deletions
|
@ -264,6 +264,8 @@ abstract class BaseAdminController extends AbstractController
|
|||
$entityManager->flush();
|
||||
|
||||
$this->addFlash('success', 'attachment_type.deleted');
|
||||
} else {
|
||||
$this->addFlash('error', 'csfr_invalid');
|
||||
}
|
||||
|
||||
return $this->redirectToRoute($this->route_base . '_new');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue