提交 6bc9249b 编写于 作者: D Dmitriy Zaporozhets

Merge pull request #3034 from Andrew8xx8/patch-2

Event already has author relation
......@@ -130,10 +130,6 @@ class Event < ActiveRecord::Base
target if target_type == "MergeRequest"
end
def author
@author ||= User.find(author_id)
end
def action_name
if closed?
"closed"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册