10 lines
240 B
Python
10 lines
240 B
Python
|
from app.utils.priv_required import priv_required
|
||
|
from app.utils.render import render
|
||
|
from app import app
|
||
|
|
||
|
|
||
|
@app.route('/admin', methods=['GET', 'POST'])
|
||
|
@priv_required('access-admin-panel')
|
||
|
def adm():
|
||
|
return render('admin/index.html')
|