mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Added simple SMD reel calculator.
This commit is contained in:
parent
fe405aae1e
commit
e2ee0df58a
4 changed files with 268 additions and 0 deletions
26
src/Controller/ToolsController.php
Normal file
26
src/Controller/ToolsController.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
/**
|
||||
* @Route("/tools")
|
||||
* @package App\Controller
|
||||
*/
|
||||
class ToolsController extends AbstractController
|
||||
{
|
||||
|
||||
/**
|
||||
* @Route("/reel_calc", name="tools_reel_calculator")
|
||||
* @return Response
|
||||
*/
|
||||
public function reelCalculator() : Response
|
||||
{
|
||||
return $this->render("Tools/ReelCalculator/main.html.twig");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue