Sha256: 108df680596b5e78c26c64e8ec422d1ffacaf85b90b75d4e12756041df26bf7b

Contents?: true

Size: 428 Bytes

Versions: 7

Compression:

Stored size: 428 Bytes

Contents

module Blogit
  module Generators

    class ViewsGenerator < Rails::Generators::Base
      desc "Copies Blogit views to your application."

      include Thor::Actions

      source_root File.expand_path('../../../../app/views', __FILE__)

      # Copy all of the views from the blogit/app/views/blogit to
      # app/views/blogit
      def copy_views
        directory 'blogit', 'app/views/blogit'
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
blogit-1.1.2 lib/generators/blogit/views_generator.rb
blogit-admin-0.0.1 lib/generators/blogit/views_generator.rb
blogit-1.1.1 lib/generators/blogit/views_generator.rb
blogit-1.1.0 lib/generators/blogit/views_generator.rb
blogit-1.0.0 lib/generators/blogit/views_generator.rb
blogit-1.0.0.rc1 lib/generators/blogit/views_generator.rb
blogit-0.8.0 lib/generators/blogit/views_generator.rb