Sha256: 8e2b637a4ce744a7d571aab029fa2b06781cdf6612ff4078a0bf1ff26f47ae56

Contents?: true

Size: 546 Bytes

Versions: 6

Compression:

Stored size: 546 Bytes

Contents

require 'rails/generators'

module Theme
  module Generators
    class FullWidthPicsGenerator < ::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 'full-width-pics.css', 'app/assets/stylesheets/full-width-pics.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/full_width_pics/full_width_pics_generator.rb
rails_apps_pages-0.6.6 lib/generators/theme/full_width_pics/full_width_pics_generator.rb
rails_apps_pages-0.6.5 lib/generators/theme/full_width_pics/full_width_pics_generator.rb
rails_apps_pages-0.6.4 lib/generators/theme/full_width_pics/full_width_pics_generator.rb
rails_apps_pages-0.6.3 lib/generators/theme/full_width_pics/full_width_pics_generator.rb
rails_apps_pages-0.6.2 lib/generators/theme/full_width_pics/full_width_pics_generator.rb