Sha256: 08b1ad32c7cd989378f2ee098b95dfe6f2a9b4acdc17b6692ba7666545d15ff8

Contents?: true

Size: 356 Bytes

Versions: 7

Compression:

Stored size: 356 Bytes

Contents

module ActiveAdmin
  module Generators
    class EditorGenerator < Rails::Generators::Base
      desc 'Installs the active admin html5 editor.'

      source_root File.expand_path('../templates', __FILE__)
      
      def copy_initializer
        template 'active_admin_editor.rb', 'config/initializers/active_admin_editor.rb'
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_admin_editor-1.1.0 lib/generators/active_admin/editor/editor_generator.rb
active_admin_editor-1.0.6 lib/generators/active_admin/editor/editor_generator.rb
active_admin_editor-1.0.5 lib/generators/active_admin/editor/editor_generator.rb
active_admin_editor-1.0.4 lib/generators/active_admin/editor/editor_generator.rb
active_admin_editor-1.0.3 lib/generators/active_admin/editor/editor_generator.rb
active_admin_editor-1.0.1 lib/generators/active_admin/editor/editor_generator.rb
active_admin_editor-1.0.0 lib/generators/active_admin/editor/editor_generator.rb