demarches-normaliennes/app/fields/mail_template_field.rb

10 lines
170 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-10-02 15:38:57 +02:00
require "administrate/field/base"
class MailTemplateField < Administrate::Field::Base
def name
data.class::DISPLAYED_NAME
end
end