Class: Deface::Generators::OverrideGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/deface/override_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_templateObject



10
11
12
13
# File 'lib/generators/deface/override_generator.rb', line 10

def copy_template
  engine = options[:template_engine]
  copy_file "override.html.#{engine}.deface", "app/overrides/#{view}/#{name}.html.#{engine}.deface"
end