Extend models functionality with old decorator methods. Use Repository model
This commit is contained in:
parent
b53557aca6
commit
bbfbff3add
7 changed files with 67 additions and 11 deletions
|
@ -13,7 +13,6 @@ class CommitLoadContext < BaseContext
|
|||
|
||||
if commit
|
||||
commit = Commit.new(commit)
|
||||
commit = CommitDecorator.decorate(commit)
|
||||
line_notes = project.notes.for_commit_id(commit.id).inline
|
||||
|
||||
result[:commit] = commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue