Class: ActiveAdmin::Generators::PageGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveAdmin::Generators::PageGenerator
- Defined in:
- lib/generators/active_admin/page/page_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_config_file ⇒ Object
7 8 9 |
# File 'lib/generators/active_admin/page/page_generator.rb', line 7 def generate_config_file template "page.rb", "app/admin/#{file_path.tr('/', '_')}.rb" end |