In our "go to head" link in view.php, we want to use view and not browse as the action
In our "go to head" link in view.php, we want to use view and not browse as the action
diff --git a/view.php b/view.php
index 396051e..b2aa13b 100644
--- a/view.php
+++ b/view.php
@@ -39,7 +39,7 @@ if ($input->in['rev'])
if ($headRev->revision != $revision->revision)
{
$show['head'] = true;
- $link['gohead'] = ConstructLink('browse', $input->in['repos'], $input->in['path'], 0);
+ $link['gohead'] = ConstructLink('view', $input->in['repos'], $input->in['path'], 0);
}
}