|
a/Allura/allura/controllers/root.py |
|
b/Allura/allura/controllers/root.py |
|
... |
|
... |
20 |
from allura import model as M
|
20 |
from allura import model as M
|
21 |
from allura.lib.widgets import project_list as plw
|
21 |
from allura.lib.widgets import project_list as plw
|
22 |
from .auth import AuthController
|
22 |
from .auth import AuthController
|
23 |
from .search import SearchController, ProjectBrowseController
|
23 |
from .search import SearchController, ProjectBrowseController
|
24 |
from .static import NewForgeController
|
24 |
from .static import NewForgeController
|
|
|
25 |
from .site_admin import SiteAdminController
|
25 |
from .project import NeighborhoodController, HostNeighborhoodController
|
26 |
from .project import NeighborhoodController, HostNeighborhoodController
|
26 |
from .oembed import OEmbedController
|
27 |
from .oembed import OEmbedController
|
27 |
from .rest import RestController
|
28 |
from .rest import RestController
|
28 |
|
29 |
|
29 |
__all__ = ['RootController']
|
30 |
__all__ = ['RootController']
|
|
... |
|
... |
49 |
"""
|
50 |
"""
|
50 |
|
51 |
|
51 |
auth = AuthController()
|
52 |
auth = AuthController()
|
52 |
error = ErrorController()
|
53 |
error = ErrorController()
|
53 |
nf = NewForgeController()
|
54 |
nf = NewForgeController()
|
|
|
55 |
nf.admin = SiteAdminController()
|
54 |
search = SearchController()
|
56 |
search = SearchController()
|
55 |
rest = RestController()
|
57 |
rest = RestController()
|
56 |
|
58 |
|
57 |
def __init__(self):
|
59 |
def __init__(self):
|
58 |
for n in M.Neighborhood.query.find():
|
60 |
for n in M.Neighborhood.query.find():
|