Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fa22d5af
authored
Mar 18, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaikan init subscriber
1 parent
e926ff70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
opensipkd/base/__init__.py
opensipkd/base/__init__.py
View file @
fa22d5a
...
...
@@ -154,6 +154,7 @@ def add_global(event):
event
[
'get_urls'
]
=
get_urls
event
[
'get_csrf_token'
]
=
get_csrf_token
event
[
'get_base_menus'
]
=
BASE_CLASS
.
get_menus
# event['get_params'] = get_params
# event['get_module_menus'] = get_module_menus
# event['get_module_submenus'] = get_module_submenus
...
...
@@ -820,6 +821,5 @@ class BaseApp():
BASE_CLASS
=
BaseApp
()
@subscriber
(
BeforeRender
)
def
add_global
(
event
):
event
[
'get_base_menus'
]
=
BASE_CLASS
.
get_menus
()
\ No newline at end of file
# @subscriber(BeforeRender)
# def add_global(event):
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment