mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 13:33:40 +08:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@ -28,9 +28,9 @@ class BasicUserSerializer < ApplicationSerializer
|
||||
end
|
||||
|
||||
def categories_with_notification_level(lookup_level)
|
||||
category_user_notification_levels.select do |id, level|
|
||||
level == CategoryUser.notification_levels[lookup_level]
|
||||
end.keys
|
||||
category_user_notification_levels
|
||||
.select { |id, level| level == CategoryUser.notification_levels[lookup_level] }
|
||||
.keys
|
||||
end
|
||||
|
||||
def category_user_notification_levels
|
||||
|
Reference in New Issue
Block a user