diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-31 23:48:12 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-31 23:48:12 +0300 |
commit | bbfbff3add4c78ce1256ac3bbe787cc6eb9fe1b9 (patch) | |
tree | 52fca95c2741559ab0961962a863c7ccb1a7e42b /app/contexts | |
parent | b53557aca64fbf55f9bbd59849d83daa10b7361f (diff) | |
download | gitlab-ce-bbfbff3add4c78ce1256ac3bbe787cc6eb9fe1b9.tar.gz |
Extend models functionality with old decorator methods. Use Repository model
Diffstat (limited to 'app/contexts')
-rw-r--r-- | app/contexts/commit_load_context.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/contexts/commit_load_context.rb b/app/contexts/commit_load_context.rb index c8d77d9b5f3..a06523776cc 100644 --- a/app/contexts/commit_load_context.rb +++ b/app/contexts/commit_load_context.rb @@ -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 |