Class: Bootybox::Views::ApplicationLayoutGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Bootybox::Views::ApplicationLayoutGenerator
- Defined in:
- lib/generators/bootybox/views/application_layout_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy ⇒ Object
10 11 12 13 14 |
# File 'lib/generators/bootybox/views/application_layout_generator.rb', line 10 def copy %w(application.html.erb _footer.html.erb _navigation.html.erb _navigational_footer.html.erb).each do |template| copy_file template, "#{destination_root}/app/views/layouts/#{template}" end end |