Deprecated: Assigning the return value of new by reference is deprecated in /home/bluestat/public_html/source/index.php on line 477
ViewSVN - Commitdiff - ViewGit - Blue Static

In our "go to head" link in view.php, we want to use view and not browse as the action

Robert Sesek [2007-04-22 06:03]
In our "go to head" link in view.php, we want to use view and not browse as the action
Filename
view.php
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);
 	}
 }