Added routing for sponsor package and code of conduct #6
1 changed files with 3 additions and 3 deletions
|
@ -56,12 +56,12 @@ def create_app():
|
||||||
|
|
||||||
#Code of conduct
|
#Code of conduct
|
||||||
@app.route('/conduct')
|
@app.route('/conduct')
|
||||||
def conduct():
|
def conductindex():
|
||||||
return render_template('home/conduct/index.html')
|
return render_template('home/conduct/index.html')
|
||||||
@app.route('/conduct/<path:path>')
|
@app.route('/conduct/<path:path>')
|
||||||
def sponsor(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("/")
|
||||||
def index_redirect():
|
def index_redirect():
|
||||||
|
|
Loading…
Add table
Reference in a new issue