2016-08-20 01:48:00 +03:00
|
|
|
from __future__ import absolute_import
|
|
|
|
|
2014-10-22 00:06:27 +03:00
|
|
|
from flask import g, current_app
|
2016-08-20 01:48:00 +03:00
|
|
|
|
2014-10-22 00:06:27 +03:00
|
|
|
from .models import Wiki
|
|
|
|
|
|
|
|
|
|
|
|
def before_request():
|
2014-11-17 19:25:26 +02:00
|
|
|
g.current_wiki = Wiki(current_app.config['WIKI_PATH'])
|