diff options
author | Johan Sørensen <johan@johansorensen.com> | 2009-01-15 10:26:38 +0100 |
---|---|---|
committer | Johan Sørensen <johan@johansorensen.com> | 2009-01-15 10:26:38 +0100 |
commit | 3dbb58e3a5083a1b1ceb791e8e3c9448e262f921 (patch) | |
tree | 5acb13f66f1d9b04287ac35d62e50d4380b3b32e /app/controllers/trees_controller.rb | |
parent | 707286a998ce37d644d4622b2ae6ef0c323d9af6 (diff) | |
download | gitorious-mainline-outdated-3dbb58e3a5083a1b1ceb791e8e3c9448e262f921.zip gitorious-mainline-outdated-3dbb58e3a5083a1b1ceb791e8e3c9448e262f921.tar.gz gitorious-mainline-outdated-3dbb58e3a5083a1b1ceb791e8e3c9448e262f921.tar.bz2 |
Make trees+logs controllers support head_candidates that is a name spaced branch
Diffstat (limited to 'app/controllers/trees_controller.rb')
-rw-r--r-- | app/controllers/trees_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/trees_controller.rb b/app/controllers/trees_controller.rb index 1f8ca3a..d452b0a 100644 --- a/app/controllers/trees_controller.rb +++ b/app/controllers/trees_controller.rb @@ -21,7 +21,7 @@ class TreesController < ApplicationController def index redirect_to(project_repository_tree_path(@project, @repository, - @repository.head_candidate.name, [])) + @repository.head_candidate_name, [])) end def show |