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

Version Path
rails_apps_pages-0.6.7 lib/generators/theme/stylish_portfolio/stylish_portfolio_generator.rb
rails_apps_pages-0.6.6 lib/generators/theme/stylish_portfolio/stylish_portfolio_generator.rb
rails_apps_pages-0.6.5 lib/generators/theme/stylish_portfolio/stylish_portfolio_generator.rb
rails_apps_pages-0.6.4 lib/generators/theme/stylish_portfolio/stylish_portfolio_generator.rb
rails_apps_pages-0.6.3 lib/generators/theme/stylish_portfolio/stylish_portfolio_generator.rb
rails_apps_pages-0.6.2 lib/generators/theme/stylish_portfolio/stylish_portfolio_generator.rb