fixed merge request diff

This commit is contained in:
Dmitriy Zaporozhets 2011-11-29 20:06:37 +02:00
parent 958497fecb
commit 79b64ef4ac
3 changed files with 17 additions and 2 deletions

View file

@ -36,4 +36,8 @@ class Commit
def author_name
encode(author.name)
end
def prev_commit
parents.first
end
end