location admin: admin crud for location

This commit is contained in:
nobohan
2021-10-21 21:39:32 +02:00
parent 92843677f9
commit e9322e61d4
8 changed files with 190 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace Chill\MainBundle\Controller;
use Chill\MainBundle\CRUD\Controller\CRUDController;
use Symfony\Component\HttpFoundation\Request;
class LocationController extends CRUDController
{
public function customizeQuery(string $action, Request $request, $query): void
{
$query->where('e.availableForUsers', "'TRUE'");
}
// public function createEntity(string $action, Request $request): object
// {
// }
}