engine/app/models/locomotive/editable_long_text.rb

9 lines
174 B
Ruby

module Locomotive
class EditableLongText < EditableShortText
def as_json(options = {})
Locomotive::EditableLongTextPresenter.new(self).as_json
end
end
end