Module: ActionView::Helpers::FormHelper

Defined in:
lib/trix/form.rb

Instance Method Summary collapse

Instance Method Details

#trix_editor(object_name, method, options = {}) ⇒ Object



50
51
52
# File 'lib/trix/form.rb', line 50

def trix_editor(object_name, method, options = {})
  Tags::TrixEditor.new(object_name, method, self, options).render
end