|
a/Allura/allura/controllers/root.py |
|
b/Allura/allura/controllers/root.py |
|
... |
|
... |
11 |
import ew
|
11 |
import ew
|
12 |
import ming
|
12 |
import ming
|
13 |
|
13 |
|
14 |
import allura
|
14 |
import allura
|
15 |
from allura.app import SitemapEntry
|
15 |
from allura.app import SitemapEntry
|
16 |
from allura.lib.base import BaseController
|
16 |
from allura.lib.base import WsgiDispatchController
|
17 |
from allura.lib import helpers as h
|
17 |
from allura.lib import helpers as h
|
18 |
from allura.lib import plugin
|
18 |
from allura.lib import plugin
|
19 |
from allura.controllers.error import ErrorController
|
19 |
from allura.controllers.error import ErrorController
|
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
|
|
... |
|
... |
32 |
log = logging.getLogger(__name__)
|
32 |
log = logging.getLogger(__name__)
|
33 |
|
33 |
|
34 |
class W:
|
34 |
class W:
|
35 |
project_summary = plw.ProjectSummary()
|
35 |
project_summary = plw.ProjectSummary()
|
36 |
|
36 |
|
37 |
class RootController(BaseController):
|
37 |
class RootController(WsgiDispatchController):
|
38 |
"""
|
38 |
"""
|
39 |
The root controller for the allura application.
|
39 |
The root controller for the allura application.
|
40 |
|
40 |
|
41 |
All the other controllers and WSGI applications should be mounted on this
|
41 |
All the other controllers and WSGI applications should be mounted on this
|
42 |
controller. For example::
|
42 |
controller. For example::
|