]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/controllers/_ui_router.py
1 from ._router
import Router
4 class UIRouter(Router
):
5 def __init__(self
, path
, security_scope
=None, secure
=True):
6 super().__init
__(path
, base_url
="/ui-api",
7 security_scope
=security_scope
,
10 def __call__(self
, cls
):
11 cls
= super().__call
__(cls
)
12 cls
._api
_endpoint
= False