demarches-normaliennes/app/fields/mail_template_field.rb

8 lines
139 B
Ruby
Raw Normal View History

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