Switch to unified view
a/Allura/allura/controllers/static.py | b/Allura/allura/controllers/static.py | ||
---|---|---|---|
... |
... |
||
38 | g.set_project(project) |
38 | g.set_project(project) |
39 | if app: |
39 | if app: |
40 | g.set_app(app) |
40 | g.set_app(app) |
41 | html = g.markdown.convert(markdown) |
41 | html = g.markdown.convert(markdown) |
42 | return html |
42 | return html |
43 | 43 | ||
44 | @expose() |
||
45 | @with_trailing_slash |
||
46 | def redirect(self, path, **kw): |
||
47 | """Redirect to external sites.""" |
||
48 | redirect(path) |