Class: ShopifyApp::Generators::ControllersGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_controllersObject


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

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