Skip to content

Commit 349eb35

Browse files
committed
fix directory for browse links
1 parent e716ca1 commit 349eb35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/pod.tx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</li>
3030
%% }
3131
<li>
32-
%% my $parent_path = $module.path.replace(rx('/[^/]*'),'');
32+
%% my $parent_path = $module.path.replace(rx('/[^/]+$'),'');
3333
<a data-keyboard-shortcut="g b" href="[% $release_base %]/source/[% $parent_path %]"><i class="fa fa-fw fa-folder-open black"></i>Browse</a>
3434
(<a href="[% $release_base %]/source/[% $parent_path %]?raw=1">raw</a>)
3535
</li>

0 commit comments

Comments
 (0)