|
a/Allura/allura/controllers/root.py |
|
b/Allura/allura/controllers/root.py |
|
... |
|
... |
65 |
c.project = c.app = None
|
65 |
c.project = c.app = None
|
66 |
c.user = plugin.AuthenticationProvider.get(request).authenticate_request()
|
66 |
c.user = plugin.AuthenticationProvider.get(request).authenticate_request()
|
67 |
assert c.user is not None, 'c.user should always be at least User.anonymous()'
|
67 |
assert c.user is not None, 'c.user should always be at least User.anonymous()'
|
68 |
c.queued_messages = []
|
68 |
c.queued_messages = []
|
69 |
|
69 |
|
70 |
@expose('allura.templates.project_list')
|
70 |
@expose('jinja:project_list.html')
|
71 |
@with_trailing_slash
|
71 |
@with_trailing_slash
|
72 |
def index(self, **kw):
|
72 |
def index(self, **kw):
|
73 |
"""Handle the front-page."""
|
73 |
"""Handle the front-page."""
|
74 |
c.project_summary = W.project_summary
|
74 |
c.project_summary = W.project_summary
|
75 |
projects = M.Project.query.find(
|
75 |
projects = M.Project.query.find(
|