mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Added simple SMD reel calculator.
This commit is contained in:
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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user