Class: ActiveAdmin::Generators::ResourceGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveAdmin::Generators::ResourceGenerator
- Defined in:
- lib/generators/active_admin/resource/resource_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_config_file ⇒ Object
9 10 11 |
# File 'lib/generators/active_admin/resource/resource_generator.rb', line 9 def generate_config_file template "resource.rb.erb", "app/admin/#{file_path.tr('/', '_').pluralize}.rb" end |