Class: Capistrano::RefineryCMS::Generators::TemplateGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Capistrano::RefineryCMS::Generators::TemplateGenerator
- Defined in:
- lib/generators/capistrano/refinerycms/template_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_template ⇒ Object
11 12 13 14 |
# File 'lib/generators/capistrano/refinerycms/template_generator.rb', line 11 def copy_template filename = "config_initializers_refinery_core.rb.erb" copy_file File.join('templates', filename), File.join(templates_path, filename) end |