diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-09-27 23:23:11 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-09-27 23:23:11 +0300 |
commit | 9cabe04368024f44881e4269a008156f1629ab86 (patch) | |
tree | 56e27d7619690536fcda54c57acfb105f2b830dd /app | |
parent | 68f4b59738b43d9d6969528188ec74a87546a29f (diff) | |
download | gitlab-ce-9cabe04368024f44881e4269a008156f1629ab86.tar.gz |
tests for: Profile -> History
Diffstat (limited to 'app')
-rw-r--r-- | app/models/event.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index 43131ad6be4..535e778dab9 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -20,6 +20,7 @@ class Event < ActiveRecord::Base delegate :title, to: :issue, prefix: true, allow_nil: true delegate :title, to: :merge_request, prefix: true, allow_nil: true + belongs_to :author, class_name: "User" belongs_to :project belongs_to :target, polymorphic: true |