mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 10:18:56 +02:00
Allow to specify the 3d model for a footprint.
This commit is contained in:
parent
d9fe77d0e8
commit
6645ab0b61
8 changed files with 100 additions and 45 deletions
|
@ -37,6 +37,7 @@ use App\Entity\Attachments\AttachmentType;
|
|||
use App\Entity\Attachments\FootprintAttachment;
|
||||
use App\Entity\Parts\Footprint;
|
||||
use App\Form\AdminPages\BaseEntityAdminForm;
|
||||
use App\Form\AdminPages\FootprintAdminForm;
|
||||
use App\Services\EntityExporter;
|
||||
use App\Services\EntityImporter;
|
||||
use App\Services\StructuralElementRecursionHelper;
|
||||
|
@ -55,7 +56,7 @@ class FootprintController extends BaseAdminController
|
|||
|
||||
protected $entity_class = Footprint::class;
|
||||
protected $twig_template = 'AdminPages/FootprintAdmin.html.twig';
|
||||
protected $form_class = BaseEntityAdminForm::class;
|
||||
protected $form_class = FootprintAdminForm::class;
|
||||
protected $route_base = 'footprint';
|
||||
protected $attachment_class = FootprintAttachment::class;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue