docbrown/app/serializers/search/nested_user_serializer.rb
Vaidehi Joshi 95055b2a89
Remove pro role + expose analytics to all users via dashboard (#13156)
* Remove pro role on user, expose pro dashboard to all users as analytics

* Remove pro from Elasticsearch mappings

* Update user role docs to use :trusted over :pro

* Remove pro from Role model spec

* Remove more references to pro, as noted by @rhymes
2021-03-30 15:02:18 -07:00

5 lines
133 B
Ruby

module Search
class NestedUserSerializer < ApplicationSerializer
attributes :id, :name, :profile_image_90, :username
end
end