We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 019efb3 commit 3cdda39Copy full SHA for 3cdda39
app/core/blueprint.py
@@ -54,6 +54,10 @@ def blueprint_name(name):
54
if "index" in name:
55
name = str(name).replace("index", "")
56
57
+ """ remove the last . in the string it it ends with a .
58
+ for the url structure must follow the flask routing format
59
+ it should be /model/method instead of /model/method/
60
+ """
61
if name[-1:] == ".":
62
name = name[:-1]
63
http_name = str(name).replace(".", "/")
0 commit comments