Sha256: 818f887b1394360ab327626d800618441803b46940dba83d76bcbc33005514a5

Contents?: true

Size: 368 Bytes

Versions: 6

Compression:

Stored size: 368 Bytes

Contents

require 'rails/generators'

module Theme
  module Generators
    class BareGenerator < ::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'
      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/bare/bare_generator.rb
rails_apps_pages-0.6.6 lib/generators/theme/bare/bare_generator.rb
rails_apps_pages-0.6.5 lib/generators/theme/bare/bare_generator.rb
rails_apps_pages-0.6.4 lib/generators/theme/bare/bare_generator.rb
rails_apps_pages-0.6.3 lib/generators/theme/bare/bare_generator.rb
rails_apps_pages-0.6.2 lib/generators/theme/bare/bare_generator.rb