Class: AdministrateTailwindTheme::Generators::ViewsGenerator
- Inherits:
-
ViewGenerator
- Object
- Rails::Generators::Base
- ViewGenerator
- AdministrateTailwindTheme::Generators::ViewsGenerator
- Defined in:
- lib/generators/administrate_tailwind_theme/views/views_generator.rb
Instance Method Summary collapse
Methods inherited from ViewGenerator
Instance Method Details
#copy_templates ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/generators/administrate_tailwind_theme/views/views_generator.rb', line 8 def copy_templates view = 'administrate_tailwind_theme:views:' call_generator("#{view}index", resource_path, '--namespace', namespace) call_generator("#{view}show", resource_path, '--namespace', namespace) call_generator("#{view}new", resource_path, '--namespace', namespace) call_generator("#{view}edit", resource_path, '--namespace', namespace) end |