Class: Theme::Generators::FullWidthPicsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Theme::Generators::FullWidthPicsGenerator
- Defined in:
- lib/generators/theme/full_width_pics/full_width_pics_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_page ⇒ Object
10 11 12 13 14 |
# File 'lib/generators/theme/full_width_pics/full_width_pics_generator.rb', line 10 def create_page copy_file 'application.html.erb', 'app/views/layouts/application.html.erb' copy_file 'index.html', 'app/views/visitors/index.html.erb' copy_file 'full-width-pics.css', 'app/assets/stylesheets/full-width-pics.css' end |