Change everything round to be /ref/ instead of /commit/ as this makes more sense
[catagits/Gitalist.git] / root / nav / path.tt2
1 <div class='path'>
2  <a href="[% c.uri_for_action("/ref/tree", [Repository.name, Commit.sha1]) %]">[% Repository.name %]</a>
3  [% FOREACH part IN filename.split('/') %]
4   [% path = loop.first ? part : path _ '/' _ part %]
5   / <a href="[% action_name = loop.last ? '/ref/blob' : '/commit/tree'; c.uri_for_action(action_name, [Repository.name,Commit.sha1], path.to_path ) %]">[% part %]</a>
6  [% END %]
7 </div>