forked from orbit-oss/flask
normpath is now used before loading templates
This commit is contained in:
parent
4927ce2590
commit
e04483bb90
4 changed files with 14 additions and 0 deletions
|
|
@ -7,3 +7,8 @@ admin = Module(__name__, url_prefix='/admin')
|
|||
@admin.route('/')
|
||||
def index():
|
||||
return render_template('admin/index.html')
|
||||
|
||||
|
||||
@admin.route('/index2')
|
||||
def index2():
|
||||
return render_template('./admin/index.html')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue