Class: Ecm::CmsCore::Generators::ControllerGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/ecm/cms_core/controller/controller_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_controllerObject



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