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