Class: Ahoy::Generators::Clicks::MongoidGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/ahoy/clicks/mongoid_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_templatesObject



9
10
11
# File 'lib/generators/ahoy/clicks/mongoid_generator.rb', line 9

def copy_templates
  template "mongoid.rb", "app/models/ahoy/click.rb"
end