Class: Administrate::Generators::Views::NewGenerator

Inherits:
ViewGenerator
  • Object
show all
Defined in:
lib/generators/administrate/views/new_generator.rb

Instance Method Summary collapse

Methods inherited from ViewGenerator

template_source_path

Methods included from Administrate::GeneratorHelpers

#call_generator

Instance Method Details

#copy_newObject



9
10
11
12
# File 'lib/generators/administrate/views/new_generator.rb', line 9

def copy_new
  copy_resource_template("new")
  copy_resource_template("_form")
end