smartinezbragado commited on
Commit
5706ede
1 Parent(s): 33d06ba

Update views.py

Browse files
Files changed (1) hide show
  1. views.py +3 -3
views.py CHANGED
@@ -55,9 +55,9 @@ def home():
55
 
56
  return render_template('index.html')
57
 
58
- @views.route('/succes/< topics >', methods=['GET'])
59
- def success(topics):
60
- return render_template('success.html', topics = topics)
61
 
62
  @views.route('/error/<type_of_error>', methods=['GET'])
63
  def error(type_of_error: str):
 
55
 
56
  return render_template('index.html')
57
 
58
+ @views.route('/succes/<topics>/<docs>', methods=['GET'])
59
+ def success(topics, docs):
60
+ return render_template('success.html', topics = topics, docs = docs)
61
 
62
  @views.route('/error/<type_of_error>', methods=['GET'])
63
  def error(type_of_error: str):