Sha256: f7105db5030e13c0653a9f531306267f9904ef1c976b4b6ae3a7dd262350d99c

Contents?: true

Size: 358 Bytes

Versions: 5

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/base'

module Talkie
  module Generators
    class ViewsGenerator < Rails::Generators::Base
      source_root File.expand_path('../../../../app/views/talkie', __FILE__)

      def copy_views
        directory "notifications_mailer", "app/views/talkie/notifications_mailer"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
talkie-0.3.4 lib/generators/talkie/views_generator.rb
talkie-0.3.3 lib/generators/talkie/views_generator.rb
talkie-0.3.2 lib/generators/talkie/views_generator.rb
talkie-0.3.1 lib/generators/talkie/views_generator.rb
talkie-0.3.0 lib/generators/talkie/views_generator.rb