Class: Refinery::FormGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Refinery::FormGenerator
show all
- Includes:
- ExtensionGeneration
- Defined in:
- lib/generators/refinery/form/form_generator.rb
Instance Method Summary
collapse
#attributes_for_translation_table, #extension_class_name, #extension_name, #extension_plural_class_name, #extension_plural_name, #image_attributes, included, #localized?, #localized_attributes, #names_for_attr_accessible, #namespacing, #resource_attributes, #string_attributes
Instance Method Details
#description ⇒ Object
10
11
12
|
# File 'lib/generators/refinery/form/form_generator.rb', line 10
def description
"Generates an extension which is set up for frontend form submissions like a contact page."
end
|
#generate ⇒ Object
14
15
16
|
# File 'lib/generators/refinery/form/form_generator.rb', line 14
def generate
default_generate!
end
|