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