Class: ShopifyApp::Generators::AddMarketingActivityExtensionGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ShopifyApp::Generators::AddMarketingActivityExtensionGenerator
- 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_extension ⇒ Object
10 11 12 13 14 |
# File 'lib/generators/shopify_app/add_marketing_activity_extension/add_marketing_activity_extension_generator.rb', line 10 def generate_app_extension ShopifyApp::Logger.deprecated("MarketingActivitiesController will be removed in an upcoming version", "22.0.0") template("marketing_activities_controller.rb", "app/controllers/marketing_activities_controller.rb") generate_routes end |