Compare commits
No commits in common. "8e1e5180ddb101853835f70d964068abac207961" and "0d6b65ef20c5590643371af50bc1c158b9846c93" have entirely different histories.
8e1e5180dd
...
0d6b65ef20
1
.idea/HegreEtConfort.iml
generated
1
.idea/HegreEtConfort.iml
generated
@ -3,7 +3,6 @@
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="App\" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="App\Tests\" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/composer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/cache" />
|
||||
|
@ -17,7 +17,7 @@ final class FaultController extends AbstractController
|
||||
#[Route(name: 'app_fault_index', methods: ['GET'])]
|
||||
public function index(FaultRepository $faultRepository): Response
|
||||
{
|
||||
return $this->render('fault/index.html.twig', [
|
||||
return $this->render('fault/admin.html.twig', [
|
||||
'faults' => $faultRepository->findAll(),
|
||||
]);
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ final class StockController extends AbstractController
|
||||
#[Route(name: 'app_stock_index', methods: ['GET'])]
|
||||
public function index(StockRepository $stockRepository): Response
|
||||
{
|
||||
return $this->render('stock/index.html.twig', [
|
||||
return $this->render('stock/admin.html.twig', [
|
||||
'stocks' => $stockRepository->findAll(),
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user