Merge branch 'master' of ssh://goatse.co.uk/~bobtfish/public_html/Gitalist/
[catagits/Gitalist.git] / root / _log_pager.tt2
index 8d1401c..c332d35 100644 (file)
@@ -1,9 +1,9 @@
 <div class='pager'>
  <a href='[% c.uri_for(action, {h=HEAD}) %]'>HEAD</a> &sect;
  [% IF log_lines.first.sha1 != commit.sha1 %]
- <a href='[% c.uri_for(action, {pg=page - 1, h=commit.sha1}) %]'>&laquo; prev</a>
+ <a href='[% c.request.uri_with(pg => page - 1) %]'>&laquo; prev</a>
  [% END %]
  [% IF log_lines.size == 50 %]
- <a href='[% c.uri_for(action, {pg=page + 1, h=commit.sha1}) %]'>next &raquo;</a>
+ <a href='[% c.request.uri_with(pg => page + 1) %]'>next &raquo;</a>
  [% END %]
 </div>