Switch to unified view

a/Allura/allura/config/middleware.py b/Allura/allura/config/middleware.py
...
...
32
# make_base_app will wrap the TG2 app with all the middleware it needs. 
32
# make_base_app will wrap the TG2 app with all the middleware it needs. 
33
make_base_app = base_config.setup_tg_wsgi_app(load_environment)
33
make_base_app = base_config.setup_tg_wsgi_app(load_environment)
34
34
35
35
36
def make_app(global_conf, full_stack=True, **app_conf):
36
def make_app(global_conf, full_stack=True, **app_conf):
37
    root = app_conf.get('override_root', 'root')
37
    return _make_core_app('root', global_conf, full_stack, **app_conf)
38
    return _make_core_app(root, global_conf, full_stack, **app_conf)
38
39
def make_tool_test_app(global_conf, full_stack=True, **app_conf):
40
    return _make_core_app('test', global_conf, full_stack, **app_conf)
41
39
42
def _make_core_app(root, global_conf, full_stack=True, **app_conf):
40
def _make_core_app(root, global_conf, full_stack=True, **app_conf):
43
    """
41
    """
44
    Set allura up with the settings found in the PasteDeploy configuration
42
    Set allura up with the settings found in the PasteDeploy configuration
45
    file used.
43
    file used.