Class: DuodealerApp::Generators::AddMarketingActivityExtensionGenerator

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

Instance Method Summary collapse

Instance Method Details

#generate_app_extensionObject



8
9
10
11
# File 'lib/generators/duodealer_app/add_marketing_activity_extension/add_marketing_activity_extension_generator.rb', line 8

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