debian-mirror-gitlab/app/presenters/deploy_key_presenter.rb
2022-11-25 23:54:43 +05:30

9 lines
222 B
Ruby

# frozen_string_literal: true
class DeployKeyPresenter < KeyPresenter # rubocop:disable Gitlab/NamespacedClass
presents ::DeployKey, as: :deploy_key
def humanized_error_message
super(type: :deploy_key)
end
end