Sha256: b809b2c0a713bfae9619992b2d6e08ace3d7977ab5fd23bb98ec89f5ff369f42

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

module Federails
  class CopyClientViewsGenerator < Rails::Generators::Base
    source_root File.expand_path('../../../../app/views', __dir__)

    def copy_views
      directory 'federails/client', Rails.root.join('app', 'views', 'federails', 'client')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
federails-0.4.0 lib/generators/federails/copy_client_views/copy_client_views_generator.rb
federails-0.3.0 lib/generators/federails/copy_client_views/copy_client_views_generator.rb