Class: Contactify::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Contactify::Generators::InstallGenerator
- Defined in:
- lib/generators/contactify/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer_file ⇒ Object
7 8 9 10 |
# File 'lib/generators/contactify/install/install_generator.rb', line 7 def copy_initializer_file copy_file "recaptcha.rb", "config/initializers/recaptcha.rb" copy_file "contactify.yml", "config/contactify.yml" end |
#copy_migrations ⇒ Object
12 13 14 |
# File 'lib/generators/contactify/install/install_generator.rb', line 12 def copy_migrations rake("contactify:install:migrations") end |