Skip to content

Instantly share code, notes, and snippets.

@thegalexc
Created January 8, 2016 15:28
Show Gist options
  • Save thegalexc/4c5616a0ab021566892f to your computer and use it in GitHub Desktop.
Save thegalexc/4c5616a0ab021566892f to your computer and use it in GitHub Desktop.
foo test
@data_dashboard_bp.route('/', defaults={'path': ''})
@data_dashboard_bp.route('/<path:path>')
def index(path):
context_variables = {
'current_path': path
}
return render_template('index.html', **context_variables)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment