|
|
@ -139,7 +139,7 @@ def view_meal():
|
|
|
|
if meal == None:
|
|
|
|
if meal == None:
|
|
|
|
return abort(400)
|
|
|
|
return abort(400)
|
|
|
|
print(meal)
|
|
|
|
print(meal)
|
|
|
|
return render_template('index.html', leaderboard=getLeaderboard(), meal=meal)
|
|
|
|
return render_template('view_meal.html', leaderboard=getLeaderboard(), meal=meal)
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/login', methods=['GET', 'POST'])
|
|
|
|
@app.route('/login', methods=['GET', 'POST'])
|
|
|
|
def login():
|
|
|
|
def login():
|
|
|
|