Class: ActiveAdmin::Generators::EditorGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/active_admin/editor/editor_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



8
9
10
# File 'lib/generators/active_admin/editor/editor_generator.rb', line 8

def copy_initializer
  template 'active_admin_editor.rb', 'config/initializers/active_admin_editor.rb'
end