diff --git a/invenio/plugin/custom_invenio_plugin/views.py b/invenio/plugin/custom_invenio_plugin/views.py index d0dee7f..0a6976d 100644 --- a/invenio/plugin/custom_invenio_plugin/views.py +++ b/invenio/plugin/custom_invenio_plugin/views.py @@ -10,18 +10,13 @@ blueprint = Blueprint( def init_menu(): """Add custom items to main menu.""" current_menu.submenu("main").register( - "amdmodel", + id="amdmodel", text="About AM-D-Model", external_url="https://am-d-model.eu", order=0, ) -@blueprint.before_app_first_request -def init_menu_on_request(): - init_menu() - - @blueprint.route("/debug-menu") def debug_menu(): """Debug endpoint to view menu structure."""