chg: [ui:api] Moved API navigation link into admin section and created breadcrumb config
parent
2e0051401f
commit
a60ca95120
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
namespace BreadcrumbNavigation;
|
||||
|
||||
require_once(APP . 'Controller' . DS . 'Component' . DS . 'Navigation' . DS . 'base.php');
|
||||
|
||||
class ApiNavigation extends BaseNavigation
|
||||
{
|
||||
function addRoutes()
|
||||
{
|
||||
$this->bcf->addRoute('Api', 'index', [
|
||||
'label' => __('API'),
|
||||
'url' => '/api/index',
|
||||
'icon' => 'code'
|
||||
]);
|
||||
}
|
||||
}
|
|
@ -51,11 +51,6 @@ class Sidemenu {
|
|||
'icon' => $this->iconTable['Broods'],
|
||||
'url' => '/broods/index',
|
||||
],
|
||||
'API' => [
|
||||
'label' => __('API'),
|
||||
'icon' => $this->iconTable['API'],
|
||||
'url' => '/api/index',
|
||||
],
|
||||
],
|
||||
__('Administration') => [
|
||||
'Roles' => [
|
||||
|
@ -130,6 +125,11 @@ class Sidemenu {
|
|||
],
|
||||
]
|
||||
],
|
||||
'API' => [
|
||||
'label' => __('API'),
|
||||
'icon' => $this->iconTable['API'],
|
||||
'url' => '/api/index',
|
||||
],
|
||||
],
|
||||
'Open' => [
|
||||
'Organisations' => [
|
||||
|
|
Loading…
Reference in New Issue