Class: Theme::Generators::PortfolioItemGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Theme::Generators::PortfolioItemGenerator
- Defined in:
- lib/generators/theme/portfolio_item/portfolio_item_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_page ⇒ Object
10 11 12 13 |
# File 'lib/generators/theme/portfolio_item/portfolio_item_generator.rb', line 10 def create_page copy_file 'index.html', 'app/views/visitors/index.html.erb' copy_file 'portfolio-item.css', 'app/assets/stylesheets/portfolio-item.css' end |