diff options
Diffstat (limited to 'app/controllers/refs_controller.rb')
-rw-r--r-- | app/controllers/refs_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/refs_controller.rb b/app/controllers/refs_controller.rb index d180e708882..a261f2a8cf6 100644 --- a/app/controllers/refs_controller.rb +++ b/app/controllers/refs_controller.rb @@ -90,6 +90,7 @@ class RefsController < ApplicationController @repo = project.repo @commit = project.commit(@ref) + @commit = CommitDecorator.decorate(@commit) @tree = Tree.new(@commit.tree, project, @ref, params[:path]) @tree = TreeDecorator.new(@tree) @hex_path = Digest::SHA1.hexdigest(params[:path] || "/") |