Sha256: 16ccd1fb197604e0e9972c33347aa554ed69f224fa7a8a2576cc6f05f9910e5c

Contents?: true

Size: 276 Bytes

Versions: 8

Compression:

Stored size: 276 Bytes

Contents

require 'rails/generators'

module SimpleDiscussion
  module Generators
    class ViewsGenerator < Rails::Generators::Base
      source_root File.expand_path("../../../..", __FILE__)

      def copy_views
        directory 'app/views', 'app/views'
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
simple_discussion-1.2.0 lib/generators/simple_discussion/views_generator.rb
simple_discussion-1.0.1 lib/generators/simple_discussion/views_generator.rb
simple_discussion-1.0.0 lib/generators/simple_discussion/views_generator.rb
simple_discussion-0.9.5 lib/generators/simple_discussion/views_generator.rb
simple_discussion-0.9.4 lib/generators/simple_discussion/views_generator.rb
simple_discussion-0.9.3 lib/generators/simple_discussion/views_generator.rb
simple_discussion-0.9.2 lib/generators/simple_discussion/views_generator.rb
simple_discussion-0.9.1 lib/generators/simple_discussion/views_generator.rb