Skip to content

Instantly share code, notes, and snippets.

@femmerling
Created February 28, 2013 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save femmerling/5054651 to your computer and use it in GitHub Desktop.
Save femmerling/5054651 to your computer and use it in GitHub Desktop.
fixed home routing
# 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