Class: Capistrano::RefineryCMS::Generators::TemplateGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/capistrano/refinerycms/template_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_templateObject



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