format href to link if it is a linker array

This commit is contained in:
envoyr
2022-02-24 15:38:10 +01:00
parent dcdc63679c
commit 9b184a758e
6 changed files with 93 additions and 8 deletions

View File

@@ -65,5 +65,25 @@ return [
'c.diskspace',
'c.traffic',
]),
'actions' => [
'delete' => [
'icon' => 'fa fa-trash',
'href' => [
'section' => 'customers',
'page' => 'customers',
'action' => 'delete',
'id' => ':customerid'
],
],
'edit' => [
'text' => 'Edit',
'href' => [
'section' => 'customers',
'page' => 'customers',
'action' => 'edit',
'id' => ':customerid'
],
]
],
]
];