Sha256: 53ead3446ea6502ff687ef68ffa631e92d335b1464b733f9b46c41c60adc6dcb

Contents?: true

Size: 452 Bytes

Versions: 6

Compression:

Stored size: 452 Bytes

Contents

require 'rails/generators'

module Theme
  module Generators
    class RoundAboutGenerator < ::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 'round-about.css', 'app/assets/stylesheets/round-about.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/round_about/round_about_generator.rb
rails_apps_pages-0.6.6 lib/generators/theme/round_about/round_about_generator.rb
rails_apps_pages-0.6.5 lib/generators/theme/round_about/round_about_generator.rb
rails_apps_pages-0.6.4 lib/generators/theme/round_about/round_about_generator.rb
rails_apps_pages-0.6.3 lib/generators/theme/round_about/round_about_generator.rb
rails_apps_pages-0.6.2 lib/generators/theme/round_about/round_about_generator.rb