Update views for GFM

This commit is contained in:
Riyad Preukschas 2012-08-02 02:31:45 +02:00
parent 204964918b
commit eb06dd79f8
16 changed files with 19 additions and 18 deletions

View file

@ -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] || "/")