still going
This commit is contained in:
parent
6c790110a1
commit
cf1f509986
1 changed files with 6 additions and 6 deletions
|
@ -55,12 +55,12 @@ def create_app():
|
||||||
return send_from_directory('templates/home/sponsor', path)
|
return send_from_directory('templates/home/sponsor', path)
|
||||||
|
|
||||||
#Code of conduct
|
#Code of conduct
|
||||||
@app.route('/conduct')
|
@app.route('/conduct/conduct.pdf')
|
||||||
def conductindex():
|
def conduct():
|
||||||
return render_template('home/conduct/index.html')
|
return url_for('conduct', filename='templates/home/conduct/conduct.pdf')
|
||||||
@app.route('/conduct/<path:path>')
|
# @app.route('/conduct/<path:path>')
|
||||||
def conduct(path):
|
#def conduct(path):
|
||||||
return send_from_directory('templates/home/conduct', path)
|
# return send_from_directory('templates/home/conduct', path)
|
||||||
|
|
||||||
# Homepage
|
# Homepage
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
|
|
Loading…
Add table
Reference in a new issue