summaryrefslogtreecommitdiff
path: root/app/models/notification_reason.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/notification_reason.rb')
-rw-r--r--app/models/notification_reason.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/notification_reason.rb b/app/models/notification_reason.rb
index 0a13487574f..88cd0134e57 100644
--- a/app/models/notification_reason.rb
+++ b/app/models/notification_reason.rb
@@ -3,15 +3,15 @@
# Holds reasons for a notification to have been sent as well as a priority list to select which reason to use
# above the rest
class NotificationReason
- OWN_ACTIVITY = 'own_activity'.freeze
- ASSIGNED = 'assigned'.freeze
- MENTIONED = 'mentioned'.freeze
+ OWN_ACTIVITY = "own_activity"
+ ASSIGNED = "assigned"
+ MENTIONED = "mentioned"
# Priority list for selecting which reason to return in the notification
REASON_PRIORITY = [
OWN_ACTIVITY,
ASSIGNED,
- MENTIONED
+ MENTIONED,
].freeze
# returns the priority of a reason as an integer