This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[fix] strip (/ ) from route when rendering page
version-14
Anand Doshi
10 years ago
parent
8f3643a57c
commit
cf23ef1eb3
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/website/render.py
+ 1
- 1
frappe/website/render.py
View File
@@ -17,7 +17,7 @@ class PageNotFoundError(Exception): pass
def render(path, http_status_code=None):
"""render html page"""
path = resolve_path(path.strip("/"))
path = resolve_path(path.strip("/
"))
try:
data = render_page(path)
Write
Preview
Loading…
Cancel
Save