Skip to content
Snippets Groups Projects
Commit 6bc9249b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #3034 from Andrew8xx8/patch-2

Event already has author relation
parents 401041cf 303fb06c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment