Sha256: bfcb03b013f9270a44a2a1bdef57ee210205b2e5c4088ec98f145d777b8501f1

Contents?: true

Size: 470 Bytes

Versions: 6

Compression:

Stored size: 470 Bytes

Contents

require 'rails/generators'

module Theme
  module Generators
    class ThumbnailGalleryGenerator < ::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 'thumbnail-gallery.css', 'app/assets/stylesheets/thumbnail-gallery.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/thumbnail_gallery/thumbnail_gallery_generator.rb
rails_apps_pages-0.6.6 lib/generators/theme/thumbnail_gallery/thumbnail_gallery_generator.rb
rails_apps_pages-0.6.5 lib/generators/theme/thumbnail_gallery/thumbnail_gallery_generator.rb
rails_apps_pages-0.6.4 lib/generators/theme/thumbnail_gallery/thumbnail_gallery_generator.rb
rails_apps_pages-0.6.3 lib/generators/theme/thumbnail_gallery/thumbnail_gallery_generator.rb
rails_apps_pages-0.6.2 lib/generators/theme/thumbnail_gallery/thumbnail_gallery_generator.rb