mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 22:17:26 +01:00
Optimized routing
This commit is contained in:
parent
c15caf03a1
commit
3fb0a6c658
@ -18,10 +18,6 @@ use App\Creator\Factory\Form\Source\SourceFormFactory;
|
|||||||
*/
|
*/
|
||||||
class SourceController extends FOSRestController
|
class SourceController extends FOSRestController
|
||||||
{
|
{
|
||||||
|
|
||||||
public function modify(int $id): Response
|
|
||||||
{}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @Route("/source/{id}.{_format}", defaults={"_format"="html"})
|
* @Route("/source/{id}.{_format}", defaults={"_format"="html"})
|
||||||
@ -37,7 +33,7 @@ class SourceController extends FOSRestController
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @Route("/source/{id}.{_format}/edit", defaults={"_format"="html"})
|
* @Route("/source/{id}/edit.{_format}", defaults={"_format"="html"})
|
||||||
*/
|
*/
|
||||||
public function edit(Request $request, int $id): Response
|
public function edit(Request $request, int $id): Response
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user