In our "go to head" link in view.php, we want to use view and not browse as the action
[viewsvn.git] / view.php
index 396051e34c769e082e140fd411a18a64724aef21..b2aa13bebb64c89a75deab12832f804b1f674d0e 100644 (file)
--- 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);
        }
 }