Class: Redmine::Generators::ScaffoldControllerGenerator
- Inherits:
-
Rails::Generators::ScaffoldControllerGenerator
- Object
- Rails::Generators::ScaffoldControllerGenerator
- Redmine::Generators::ScaffoldControllerGenerator
- Includes:
- PluginNameAttribute
- Defined in:
- lib/redmine/generators/scaffold_controller_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ ScaffoldControllerGenerator
constructor
A new instance of ScaffoldControllerGenerator.
Constructor Details
#initialize(*args) ⇒ ScaffoldControllerGenerator
Returns a new instance of ScaffoldControllerGenerator.
21 22 23 24 25 |
# File 'lib/redmine/generators/scaffold_controller_generator.rb', line 21 def initialize(*args) super Erb::Generators::ScaffoldGenerator.send :include, SortableHeaders Erb::Generators::ScaffoldGenerator.send :include, RemoteableLinks end |
Class Method Details
.base_name ⇒ Object
27 28 29 |
# File 'lib/redmine/generators/scaffold_controller_generator.rb', line 27 def self.base_name "rails" end |