Sha256: 50185f740d33bab49d48b861b9d183085352459fde9b8e475e6c23a84915e15b

Contents?: true

Size: 461 Bytes

Versions: 6

Compression:

Stored size: 461 Bytes

Contents

require 'rails/generators'

module Theme
  module Generators
    class SmallBusinessGenerator < ::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 'small-business.css', 'app/assets/stylesheets/small-business.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/small_business/small_business_generator.rb
rails_apps_pages-0.6.6 lib/generators/theme/small_business/small_business_generator.rb
rails_apps_pages-0.6.5 lib/generators/theme/small_business/small_business_generator.rb
rails_apps_pages-0.6.4 lib/generators/theme/small_business/small_business_generator.rb
rails_apps_pages-0.6.3 lib/generators/theme/small_business/small_business_generator.rb
rails_apps_pages-0.6.2 lib/generators/theme/small_business/small_business_generator.rb