diff --git a/invenio_theme_iform/config.py b/invenio_theme_iform/config.py index 2030708..96d25e6 100644 --- a/invenio_theme_iform/config.py +++ b/invenio_theme_iform/config.py @@ -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", } diff --git a/invenio_theme_iform/views.py b/invenio_theme_iform/views.py index caced98..498c89a 100644 --- a/invenio_theme_iform/views.py +++ b/invenio_theme_iform/views.py @@ -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)