Sha256: 5f37e003285a43eaaef70a9da510ec9fa7317e1e168d0649b25b344ef5b29a04
Contents?: true
Size: 473 Bytes
Versions: 6
Compression:
Stored size: 473 Bytes
Contents
require 'rails/generators' module Theme module Generators class BusinessFrontpageGenerator < ::Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) desc "A Bootstrap HTML starter template (from startbootstrap.com)" 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 end end end
Version data entries
6 entries across 6 versions & 1 rubygems