diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-03-03 20:00:05 +0100 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-03-06 12:53:14 +0100 |
commit | 11a559f7c9ce21b040c3a9c0544169f4885b9fa6 (patch) | |
tree | 8da4be4133d05b0f8cd21f5f6de94423818a626f /app/models/event.rb | |
parent | 8a7cd25d08789ee70eaa7de3367f7ad286c49272 (diff) | |
download | gitlab-ce-11a559f7c9ce21b040c3a9c0544169f4885b9fa6.tar.gz |
Singularize model name.
Diffstat (limited to 'app/models/event.rb')
-rw-r--r-- | app/models/event.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index 166c3f1b4b1..86a14044bc2 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -395,6 +395,6 @@ class Event < ActiveRecord::Base # Note the call to .available? is due to earlier migrations # that would otherwise conflict with the call to .track # (because the table does not exist yet). - UserInteractedProjects.track(self) if UserInteractedProjects.available? + UserInteractedProject.track(self) if UserInteractedProject.available? end end |