mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 03:38:47 +02:00
Added a 'clone part' function.
This commit is contained in:
parent
33631f16cf
commit
10f39b7f45
7 changed files with 87 additions and 16 deletions
|
@ -68,6 +68,8 @@ class AppExtension extends AbstractExtension
|
|||
return $this->entityURLGenerator->editURL($entity);
|
||||
case 'create':
|
||||
return $this->entityURLGenerator->createURL($entity);
|
||||
case 'clone':
|
||||
return $this->entityURLGenerator->cloneURL($entity);
|
||||
}
|
||||
|
||||
throw new \InvalidArgumentException('method is not supported!');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue