Class: Para::TableGenerator
- Inherits:
-
Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Generators::NamedBase
- Para::TableGenerator
- Includes:
- Admin::BaseHelper, Generators::FieldHelpers
- Defined in:
- lib/generators/para/table/table_generator.rb
Instance Method Summary collapse
Methods included from Admin::BaseHelper
#find_partial_for, #find_relation_name_for, #flash_message, #registered_components_options, #resource_title_for, #template_path_lookup
Methods included from Helpers::ResourceName
Methods included from Generators::NameHelpers
#namespaced_class_name, #plural_namespaced_path, #singular_namespaced_path
Instance Method Details
#generate_table ⇒ Object
10 11 12 13 14 15 |
# File 'lib/generators/para/table/table_generator.rb', line 10 def generate_table template( "_table.html.haml", "app/views/admin/#{ plural_namespaced_path }/_table.haml" ) end |