class Theme::Generators::LandingPageGenerator
Public Instance Methods
create_page()
click to toggle source
# File lib/generators/theme/landing_page/landing_page_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 'landing-page.css', 'app/assets/stylesheets/landing-page.css' end