Class: Madmin::Generators::Views::IndexGenerator

Inherits:
ViewGenerator
  • Object
show all
Defined in:
lib/generators/madmin/views/index_generator.rb

Constant Summary

Constants included from Madmin::GeneratorHelpers

Madmin::GeneratorHelpers::ROUTES_FILE

Instance Method Summary collapse

Methods inherited from ViewGenerator

template_source_path

Methods included from Madmin::GeneratorHelpers

#call_generator, #optimize_indentation, #rails6_1_and_up?, #route, #route_namespace_exists?

Instance Method Details

#copy_templateObject



9
10
11
# File 'lib/generators/madmin/views/index_generator.rb', line 9

def copy_template
  copy_resource_template("index")
end