|
a/Allura/allura/controllers/root.py |
|
b/Allura/allura/controllers/root.py |
|
... |
|
... |
82 |
categories = M.ProjectCategory.query.find({'parent_id':None}).sort('name').all()
|
82 |
categories = M.ProjectCategory.query.find({'parent_id':None}).sort('name').all()
|
83 |
c.custom_sidebar_menu = [
|
83 |
c.custom_sidebar_menu = [
|
84 |
SitemapEntry(cat.label, '/browse/'+cat.name, className='nav_child') for cat in categories
|
84 |
SitemapEntry(cat.label, '/browse/'+cat.name, className='nav_child') for cat in categories
|
85 |
]
|
85 |
]
|
86 |
return dict(projects=psort,title="All Projects",text=None)
|
86 |
return dict(projects=psort,title="All Projects",text=None)
|
87 |
|
|
|
88 |
@expose()
|
|
|
89 |
@with_trailing_slash
|
|
|
90 |
def redirect(self, path, **kw):
|
|
|
91 |
"""Redirect to external sites."""
|
|
|
92 |
redirect(path)
|
|
|