summaryrefslogtreecommitdiff
path: root/app/serializers/user_entity.rb
blob: 876512b12dc6c16db081f22e86039f29c1b8b46d (plain)
1
2
3
4
5
6
7
class UserEntity < API::Entities::UserBasic
  include RequestAwareEntity

  expose :path do |user|
    user_path(user)
  end
end