process review

This commit is contained in:
2023-11-13 14:06:05 +01:00
parent 5be516b14e
commit 09f823ac08
11 changed files with 43 additions and 133 deletions

View File

@@ -791,48 +791,6 @@ class ChillMainExtension extends Extension implements
],
],
],
/* [
'class' => \Chill\MainBundle\Entity\DashboardConfigItem::class,
'controller' => \Chill\MainBundle\Controller\DashboardApiController::class,
'name' => 'dashboard-config-item',
'base_path' => '/api/1.0/main/dashboard-config-item',
'base_role' => 'ROLE_USER',
'actions' => [
'_index' => [
'methods' => [
Request::METHOD_GET => true,
Request::METHOD_HEAD => true,
],
],
'_entity' => [
'methods' => [
Request::METHOD_GET => true,
Request::METHOD_HEAD => true,
],
],
],
],
[
'class' => \Chill\MainBundle\Entity\NewsItem::class,
'controller' => \Chill\MainBundle\Controller\NewsItemApiController::class,
'name' => 'news-items',
'base_path' => '/api/1.0/main/news',
'base_role' => 'ROLE_USER',
'actions' => [
'_index' => [
'methods' => [
Request::METHOD_GET => true,
Request::METHOD_HEAD => true,
],
],
'_entity' => [
'methods' => [
Request::METHOD_GET => true,
Request::METHOD_HEAD => true,
],
],
],
],*/
],
]);
}