Move config download/upload into Counties and Exceptions pages
This commit is contained in:
+2
-2
@@ -503,7 +503,7 @@ def get_counties():
|
||||
|
||||
@app.route('/counties')
|
||||
def counties_page():
|
||||
return render_template('counties.html')
|
||||
return render_template('counties.html', current_user=session.get('username'))
|
||||
|
||||
@app.route('/api/counties', methods=['GET'])
|
||||
def get_counties_api():
|
||||
@@ -555,7 +555,7 @@ _ensure_exceptions_file()
|
||||
|
||||
@app.route('/exceptions')
|
||||
def exceptions_page():
|
||||
return render_template('exceptions.html')
|
||||
return render_template('exceptions.html', current_user=session.get('username'))
|
||||
|
||||
|
||||
@app.route('/api/exceptions', methods=['GET'])
|
||||
|
||||
Reference in New Issue
Block a user