summaryrefslogtreecommitdiff
path: root/app/serializers/event_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/event_entity.rb')
-rw-r--r--app/serializers/event_entity.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/serializers/event_entity.rb b/app/serializers/event_entity.rb
new file mode 100644
index 00000000000..935d67a4f37
--- /dev/null
+++ b/app/serializers/event_entity.rb
@@ -0,0 +1,4 @@
+class EventEntity < Grape::Entity
+ expose :author, using: UserEntity
+ expose :updated_at
+end