Sha256: 760af5747a9df261e2d217f48af11eaa24090737ca1c23aa7b78f568e8784416

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 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', __dir__)

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

      def copy_comments_views
        directory 'comments', 'app/views/talkie/comments'
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
talkie-0.5.1 lib/generators/talkie/views_generator.rb
talkie-0.5.0 lib/generators/talkie/views_generator.rb
talkie-0.4.1 lib/generators/talkie/views_generator.rb
talkie-0.4.0 lib/generators/talkie/views_generator.rb
talkie-0.3.5 lib/generators/talkie/views_generator.rb