summaryrefslogtreecommitdiff
path: root/app/models/event.rb
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-03-03 20:00:05 +0100
committerAndreas Brandl <abrandl@gitlab.com>2018-03-06 12:53:14 +0100
commit11a559f7c9ce21b040c3a9c0544169f4885b9fa6 (patch)
tree8da4be4133d05b0f8cd21f5f6de94423818a626f /app/models/event.rb
parent8a7cd25d08789ee70eaa7de3367f7ad286c49272 (diff)
downloadgitlab-ce-11a559f7c9ce21b040c3a9c0544169f4885b9fa6.tar.gz
Singularize model name.
Diffstat (limited to 'app/models/event.rb')
-rw-r--r--app/models/event.rb2
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