Class: Deface::Generators::OverrideGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Deface::Generators::OverrideGenerator
- Defined in:
- lib/generators/deface/override_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_template ⇒ Object
10 11 12 13 |
# File 'lib/generators/deface/override_generator.rb', line 10 def copy_template engine = [:template_engine] copy_file "override.html.#{engine}.deface", "app/overrides/#{view}/#{name}.html.#{engine}.deface" end |