Class: DuodealerApp::Generators::ControllersGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/duodealer_app/controllers/controllers_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_controllersObject



8
9
10
11
12
# File 'lib/generators/duodealer_app/controllers/controllers_generator.rb', line 8

def create_controllers
  controllers.each do |controller|
    copy_file controller
  end
end