Skip to content

Commit

Permalink
ui: allow slashes in communities urls
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsherva committed Oct 13, 2023
1 parent 06d034e commit 222fded
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions invenio_communities/views/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,13 @@ def create_ui_blueprint(app):
blueprint.add_url_rule(
routes["frontpage"],
view_func=communities_frontpage,
strict_slashes=False,
)

blueprint.add_url_rule(
routes["search"],
view_func=communities_search,
strict_slashes=False,
)

blueprint.add_url_rule(
Expand Down

0 comments on commit 222fded

Please sign in to comment.