Class: Ecm::CmsCore::Generators::ControllerGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Ecm::CmsCore::Generators::ControllerGenerator
- Defined in:
- lib/generators/ecm/cms_core/controller/controller_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_controller ⇒ Object
9 10 11 |
# File 'lib/generators/ecm/cms_core/controller/controller_generator.rb', line 9 def generate_controller copy_file "page_controller.rb", "app/controllers/page_controller.rb" end |