Sha256: 23281f8006f74ccb57e79a71133177fbc1a84d400bad66683346987e1f4fa582

Contents?: true

Size: 297 Bytes

Versions: 23

Compression:

Stored size: 297 Bytes

Contents

require "rails/generators"

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

      def copy_initializer_file
        directory "mailkick", "app/views/mailkick"
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
mailkick-0.1.4 lib/generators/mailkick/views_generator.rb
mailkick-0.1.3 lib/generators/mailkick/views_generator.rb
mailkick-0.1.2 lib/generators/mailkick/views_generator.rb