summaryrefslogtreecommitdiffstats
path: root/app/controllers/trees_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/trees_controller.rb')
-rw-r--r--app/controllers/trees_controller.rb2
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