summaryrefslogtreecommitdiff
path: root/app/serializers/diff_viewer_entity.rb
blob: 27fba03cb3fc3d71afe3661f9cb27771060751bd (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

class DiffViewerEntity < Grape::Entity
  # Partial name refers directly to a Rails feature, let's avoid
  # using this on the frontend.
  expose :partial_name, as: :name
end