Cleaning things
This commit is contained in:
parent
c6935845c3
commit
d3035415f8
1 changed files with 1 additions and 5 deletions
|
|
@ -63,12 +63,8 @@ if hasattr(config, 'admin_folder'):
|
||||||
@admin_app.get('/home', name="admin_app.home_admin")
|
@admin_app.get('/home', name="admin_app.home_admin")
|
||||||
def home_admin(session=Session()):
|
def home_admin(session=Session()):
|
||||||
|
|
||||||
#s=get_session()
|
|
||||||
|
|
||||||
#i18n=I18n('admin2')
|
|
||||||
|
|
||||||
return t.load_template('layout.phtml', title=_('Admin'), module_selected='home_admin', session=session)
|
return t.load_template('layout.phtml', title=_('Admin'), module_selected='home_admin', session=session)
|
||||||
#return {}
|
|
||||||
|
|
||||||
@app.get(admin_folder)
|
@app.get(admin_folder)
|
||||||
def redirect_home():
|
def redirect_home():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue