summaryrefslogtreecommitdiff
path: root/app/views/events/_event.atom.builder
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/_event.atom.builder')
-rw-r--r--app/views/events/_event.atom.builder2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/events/_event.atom.builder b/app/views/events/_event.atom.builder
index 406e8a93194..17bf43a4590 100644
--- a/app/views/events/_event.atom.builder
+++ b/app/views/events/_event.atom.builder
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
return unless event.visible_to_user?(current_user)
event = event.present