diff options
Diffstat (limited to 'app/controllers/commits_controller.rb')
-rw-r--r-- | app/controllers/commits_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb index d610d77..7c71876 100644 --- a/app/controllers/commits_controller.rb +++ b/app/controllers/commits_controller.rb @@ -30,7 +30,7 @@ class CommitsController < ApplicationController @repository, @repository.head_candidate.name) and return end @git = @repository.git - @ref, _ = branch_and_path(params[:branch], @git) + @ref, @path = branch_and_path(params[:branch], @git) if h = @git.get_head(@ref) head = h else |