Created
February 28, 2013 06:16
-
-
Save femmerling/5054651 to your computer and use it in GitHub Desktop.
fixed home routing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# home root controller | |
# @app.route('/') | |
# def index(): | |
# # define your controller here | |
# return render_template('welcome.html') | |
@app.route('/') #Link | |
def home_control(): | |
# add your controller here | |
return render_template('home.html') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment