Class: ShopifyApp::Generators::AddMarketingActivityExtensionGenerator

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

Instance Method Summary collapse

Instance Method Details

#generate_app_extensionObject



9
10
11
12
# File 'lib/generators/shopify_app/add_marketing_activity_extension/add_marketing_activity_extension_generator.rb', line 9

def generate_app_extension
  template("marketing_activities_controller.rb", "app/controllers/marketing_activities_controller.rb")
  generate_routes
end