mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
[ReelCalculator] Added permission and added it to tools menu.
This commit is contained in:
parent
21f0727509
commit
36dfae52f2
6 changed files with 37 additions and 10 deletions
|
@ -21,6 +21,8 @@ class ToolsController extends AbstractController
|
|||
*/
|
||||
public function reelCalculator() : Response
|
||||
{
|
||||
$this->denyAccessUnlessGranted('@tools.reel_calculator');
|
||||
|
||||
return $this->render("Tools/ReelCalculator/main.html.twig");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue