Sha256: 5a37bee877ac8bd87b1f61710e2719252b831077e9570a8c39b844d3d58ce553

Contents?: true

Size: 660 Bytes

Versions: 2

Compression:

Stored size: 660 Bytes

Contents

require "simple_form"

require "simple_form_markdown_editor/configuration"
require "simple_form_markdown_editor/engine"
require "simple_form_markdown_editor/markdown_editor_input"
require "simple_form_markdown_editor/renderer"
require "simple_form_markdown_editor/version"

require "i18n"

# ---------------------------------------------------------------------

module SimpleForm
  class FormBuilder
    map_type :markdown_editor, to: SimpleFormMarkdownEditor::MarkdownEditorInput
  end
end

# ---------------------------------------------------------------------

I18n.load_path += Dir.glob(File.join( File.dirname(__FILE__), 'config', 'locales', '*.yml' ))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_form_markdown_editor-0.0.5 lib/simple_form_markdown_editor.rb
simple_form_markdown_editor-0.0.4 lib/simple_form_markdown_editor.rb