Class: Theme::Generators::BlogHomeGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Theme::Generators::BlogHomeGenerator
- Defined in:
- lib/generators/theme/blog_home/blog_home_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_page ⇒ Object
10 11 12 13 14 |
# File 'lib/generators/theme/blog_home/blog_home_generator.rb', line 10 def create_page copy_file 'index.html', 'app/views/visitors/index.html.erb' copy_file 'blogpost.html', 'app/views/pages/blogpost.html.erb' copy_file 'blog-home.css', 'app/assets/stylesheets/blog-home.css' end |