summaryrefslogtreecommitdiff
path: root/lib/api/entities/user_path.rb
blob: 3f007659813bdff6b74b457e94e098a9688a2bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module API
  module Entities
    class UserPath < UserBasic
      include RequestAwareEntity
      include UserStatusTooltip

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

API::Entities::UserPath.prepend_if_ee('EE::API::Entities::UserPath')