Sha256: e4eff1d283f03e47dabd61488302bdc8c90741e49bc4c782f0c2b74c739f258e

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 Bytes

Contents

module Georgia
  module Generators
    class ViewsGenerator < ::Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def copy_pages_views
        copy_file "app/views/pages/show.html.erb"
        copy_file "app/views/pages/templates/_default.html.erb"
        copy_file "app/views/pages/templates/_one-column.html.erb"
        copy_file "app/views/pages/templates/_sidebar-left.html.erb"
        copy_file "app/views/pages/templates/_sidebar-right.html.erb"
        say("Successfully copied Georgia default templates to your application views.", :green)
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
georgia-0.8.0 lib/generators/georgia/views/views_generator.rb
georgia-0.7.8 lib/generators/georgia/views/views_generator.rb
georgia-0.7.7 lib/generators/georgia/views/views_generator.rb
georgia-0.7.6 lib/generators/georgia/views/views_generator.rb