Sha256: 96da32827f8883114db5a09b1d18b16211082896244ddab964e91026df7398bc

Contents?: true

Size: 465 Bytes

Versions: 6

Compression:

Stored size: 465 Bytes

Contents

require 'rails/generators'

module Theme
  module Generators
    class OneColPortfolioGenerator < ::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 '1-col-portfolio.css', 'app/assets/stylesheets/1-col-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/one_col_portfolio/one_col_portfolio_generator.rb
rails_apps_pages-0.6.6 lib/generators/theme/one_col_portfolio/one_col_portfolio_generator.rb
rails_apps_pages-0.6.5 lib/generators/theme/one_col_portfolio/one_col_portfolio_generator.rb
rails_apps_pages-0.6.4 lib/generators/theme/one_col_portfolio/one_col_portfolio_generator.rb
rails_apps_pages-0.6.3 lib/generators/theme/one_col_portfolio/one_col_portfolio_generator.rb
rails_apps_pages-0.6.2 lib/generators/theme/one_col_portfolio/one_col_portfolio_generator.rb