mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Added simple redirect to info page, when scanning an QR code.
This commit is contained in:
parent
2768eb1745
commit
c200b650a0
4 changed files with 95 additions and 10 deletions
|
@ -63,6 +63,7 @@ class BarcodeContentGenerator
|
|||
return $this->urlGenerator->generate('scan_qr', [
|
||||
'type' => $type,
|
||||
'id' => $target->getID(),
|
||||
'_locale' => null,
|
||||
], UrlGeneratorInterface::ABSOLUTE_URL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue