Class: ScaffoldPlus::Generators::GeocoderInitGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/scaffold_plus/geocoder_init/geocoder_init_generator.rb

Instance Method Summary collapse

Instance Method Details

#add_initializerObject



13
14
15
# File 'lib/generators/scaffold_plus/geocoder_init/geocoder_init_generator.rb', line 13

def add_initializer
  template "geocoder.rb", "config/initializers/geocoder.rb"
end