Class: Administrate::Generators::ViewsGenerator

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

Instance Method Summary collapse

Methods included from Administrate::GeneratorHelpers

#call_generator

Instance Method Details

#copy_templatesObject



6
7
8
9
10
11
# File 'lib/generators/administrate/views/views_generator.rb', line 6

def copy_templates
  call_generator("administrate:views:index", resource_path)
  call_generator("administrate:views:show", resource_path)
  call_generator("administrate:views:new", resource_path)
  call_generator("administrate:views:edit", resource_path)
end