We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39bdc06 commit 5c762ccCopy full SHA for 5c762cc
1 file changed
plugin.rb
@@ -93,6 +93,7 @@ class SiteSettings::TypeSupervisor
93
register_editable_user_custom_field :geo_location if defined? register_editable_user_custom_field
94
register_editable_user_custom_field geo_location: {} if defined? register_editable_user_custom_field
95
add_to_serializer(:user, :geo_location, false) { object.custom_fields['geo_location'] }
96
+ add_to_serializer(:user_card, :geo_location, false) { object.custom_fields['geo_location'] }
97
98
require_dependency 'directory_item_serializer'
99
class ::DirectoryItemSerializer::UserSerializer
0 commit comments