Class: Administrate::Generators::Views::NewGenerator
- Inherits:
-
ViewGenerator
- Object
- Rails::Generators::Base
- ViewGenerator
- Administrate::Generators::Views::NewGenerator
- Defined in:
- lib/generators/administrate/views/new_generator.rb
Instance Method Summary collapse
Methods included from Administrate::GeneratorHelpers
Instance Method Details
#copy_new ⇒ Object
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 |