diff options
author | Ivan Habunek <ivan@habunek.com> | 2018-11-18 13:25:05 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-11-18 08:54:09 -0500 |
commit | e1ec176f46314eea695b41c8cb422be146c6b46f (patch) | |
tree | 47f94a1bce2d27532ce8b7cf8fe6b1b442bb2a48 /gitsrht/templates/refs.html | |
parent | 4502aa711cf239b018646aa46ee283619b04ab55 (diff) |
Add url helpers
Diffstat (limited to 'gitsrht/templates/refs.html')
-rw-r--r-- | gitsrht/templates/refs.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gitsrht/templates/refs.html b/gitsrht/templates/refs.html index f63f025..9fbea6d 100644 --- a/gitsrht/templates/refs.html +++ b/gitsrht/templates/refs.html @@ -8,9 +8,7 @@ <link rel="alternate" title="{{ repo.owner.canonical_name }}/{{ repo.name }} refs" type="application/rss+xml" - href="{{ root }}{{ url_for('repo.refs_rss', - owner=repo.owner.canonical_name, - repo=repo.name) }}"> + href="{{ root }}{{ repo|refs_rss_url }}"> {% endblock %} {% block content %} |