Event already has author relation

5-0-stable
Andrew Kulakov 2013-02-19 15:22:29 +04:00
parent 401041cfd6
commit 303fb06c96
1 changed files with 0 additions and 4 deletions

View File

@ -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"