[crud] clean and add documentation

This commit is contained in:
2020-03-12 22:31:21 +01:00
parent ad3ced9683
commit 13e81b3b49
5 changed files with 465 additions and 150 deletions

View File

@@ -37,17 +37,6 @@ class CRUDRoutesLoader
$this->config = $config;
}
protected function addDummyConfig()
{
$this->config[] = [
'name' => 'country',
'actions' => ['index'],//, 'new', 'edit', 'delete'],
'base_path' => '/admin/country',
'controller' => \Chill\MainBundle\Controller\AdminCountryCRUDController::class
];
}
public function load()
{
$collection = new RouteCollection();