Make the log links work for repositories also.
Dagfinn Ilmari Mannsåker [Wed, 10 Feb 2010 03:27:39 +0000 (03:27 +0000)]
root/nav/actions.tt2

index 57e7b71..d4d7ac3 100644 (file)
@@ -2,8 +2,8 @@
   <!-- This should probably be a real LIst -->
     <a href="[% c.uri_for_action('/repository/summary', [c.req.captures.0]) %]">summary</a> &bull;
     [% IF c.req.captures.size == 1; SET path = 'repository'; ELSE; SET path = 'ref'; END %]
-    <a href="[% c.uri_for_action('/' _ path _ '/shortlog', [c.req.captures]) %]">shortlog</a> &bull;
-    <a href="[% c.uri_for_action('/' _ path _ '/longlog', [c.req.captures]) %]">log</a>
+    <a href="[% c.uri_for_action('/' _ path _ '/shortlog', c.req.captures) %]">shortlog</a> &bull;
+    <a href="[% c.uri_for_action('/' _ path _ '/longlog', c.req.captures) %]">log</a>
     [% IF Commit %]
         &sect;
         <a href="[% c.uri_for_action('/ref/commit', [c.req.captures.0, Commit.sha1]) %]">commit</a> &bull;