Skip to content

A platform for community discussion. Free, open, simple.

DEV: Remove unused user_auth_token_log_serializer

David Taylorb6e08c06c5a0
diff --git a/app/serializers/user_auth_token_log_serializer.rb b/app/serializers/user_auth_token_log_serializer.rb
deleted file mode 100644
index 0a676f8c7c1..00000000000
--- a/app/serializers/user_auth_token_log_serializer.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class UserAuthTokenLogSerializer < ApplicationSerializer
- include UserAuthTokensMixin
-
- attributes :action
-
- def action
- case object.action
- when 'generate'
- I18n.t('log_in')
- when 'destroy'
- I18n.t('unsubscribe.log_out')
- else
- I18n.t('staff_action_logs.unknown')
- end
- end
-end