mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 18:13:48 +00:00
[admin][templates] move job/scope history in an unique template and display history for a given user
This commit is contained in:
@@ -375,32 +375,6 @@ class ChillMainExtension extends Extension implements
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'class' => UserJobHistory::class,
|
||||
'controller' => UserJobHistoryController::class,
|
||||
'name' => 'admin_user_job_history',
|
||||
'base_path' => '/admin/main/user-job-history',
|
||||
'base_role' => 'ROLE_ADMIN',
|
||||
'actions' => [
|
||||
'index' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
'template' => '@ChillMain/UserJob/history.html.twig',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'class' => UserScopeHistory::class,
|
||||
'controller' => UserScopeHistoryController::class,
|
||||
'name' => 'admin_user_scope_history',
|
||||
'base_path' => '/admin/main/user-scope-history',
|
||||
'base_role' => 'ROLE_ADMIN',
|
||||
'actions' => [
|
||||
'index' => [
|
||||
'role' => 'ROLE_ADMIN',
|
||||
'template' => '@ChillMain/Scope/history.html.twig',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'class' => User::class,
|
||||
'controller' => UserController::class,
|
||||
|
Reference in New Issue
Block a user