Skip to content

Commit 1d436c2

Browse files
committed
fix help redirects
1 parent 0a5426d commit 1d436c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

help/help_page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def index():
1717
# Redirect form searches to /help/<search>
1818
if request.args.get('search'):
1919
return redirect(
20-
url_for('help_page.single', topic=request.args.get('search'))
20+
url_for('help.help_page.single', topic=request.args.get('search'))
2121
)
2222

2323
return render_template(
@@ -52,7 +52,7 @@ def single(topic=None):
5252
if len(search_topics) == 1:
5353
found_topic = next(iter(search_topics.values()))
5454
return redirect(
55-
url_for('help_page.single', topic=found_topic['name'])
55+
url_for('help.help_page.single', topic=found_topic['name'])
5656
)
5757

5858
# Respond with a 200 showing any results,

0 commit comments

Comments
 (0)