gitlab-org--gitlab-foss/app/serializers/diff_viewer_entity.rb
2018-10-05 22:36:20 +00:00

7 lines
205 B
Ruby

# 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