diff options
Diffstat (limited to 'app/presenters/event_presenter.rb')
-rw-r--r-- | app/presenters/event_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/event_presenter.rb b/app/presenters/event_presenter.rb index 4c787b88e20..7fa87d33c0d 100644 --- a/app/presenters/event_presenter.rb +++ b/app/presenters/event_presenter.rb @@ -3,7 +3,7 @@ class EventPresenter < Gitlab::View::Presenter::Delegated presents ::Event, as: :event - def initialize(subject, **attributes) + def initialize(event, **attributes) super @visible_to_user_cache = ActiveSupport::Cache::MemoryStore.new |