mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-22 20:51:58 +00:00
Renamed TUG_ROUTES to IFORM_ROUTES
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user