Renamed TUG_ROUTES to IFORM_ROUTES

This commit is contained in:
2025-05-09 16:49:29 +01:00
parent ba9f7c35c9
commit eb31090c13
2 changed files with 2 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ DEPOSITS_HEADER_TEMPLATE = "invenio_theme_iform/header.html"
# SEARCH_UI_SEARCH_TEMPLATE = "invenio_theme_iform/search.html"
# """override the default search page"""
TUG_ROUTES = {
IFORM_ROUTES = {
"index": "/",
"comingsoon": "/comingsoon",
}

View File

@@ -114,7 +114,7 @@ def default_error_handler(e: Exception):
def ui_blueprint(app):
"""Blueprint for the routes and resources provided by invenio-theme-iform."""
routes = app.config.get("TUG_ROUTES")
routes = app.config.get("IFORM_ROUTES")
blueprint.add_url_rule(routes["index"], view_func=index)