Switch to unified view

a/Allura/allura/config/middleware.py b/Allura/allura/config/middleware.py
...
...
68
        [pkg_resources.resource_filename('allura', 'etc/mime.types')]
68
        [pkg_resources.resource_filename('allura', 'etc/mime.types')]
69
        + mimetypes.knownfiles)
69
        + mimetypes.knownfiles)
70
    patches.apply()
70
    patches.apply()
71
    # Configure MongoDB
71
    # Configure MongoDB
72
    ming.configure(**app_conf)
72
    ming.configure(**app_conf)
73
74
    # Configure ActivityStream
75
    import activitystream
76
    activitystream.configure(**app_conf)
73
77
74
    # Configure EW variable provider
78
    # Configure EW variable provider
75
    ew.render.TemplateEngine.register_variable_provider(get_tg_vars)
79
    ew.render.TemplateEngine.register_variable_provider(get_tg_vars)
76
80
77
    # Create base app
81
    # Create base app