Class: SitemapNotifier::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/sitemap_notifier/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_initializerObject



6
7
8
# File 'lib/generators/sitemap_notifier/install_generator.rb', line 6

def create_initializer
  copy_file "initializer.rb", "config/initializers/sitemap_notifier.rb"
end