Sha256: 6a799f14819b2f488ea9b78e2df2efe608db336477f752fc93cc117966226fa9

Contents?: true

Size: 338 Bytes

Versions: 92

Compression:

Stored size: 338 Bytes

Contents

module Spree
  module Backend
    class CopyViewsGenerator < Rails::Generators::Base
      desc 'Copies views from spree backend to your application'

      def self.source_paths
        [File.expand_path('../../../../../app', __dir__)]
      end

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

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
spree_backend-4.8.4 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.8.3 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.8.2 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.8.1 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.0.9 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.1.15 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.2.7 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.3.3 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.7.2 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.6.2 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.7.1 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.7.0 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.6.1 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.6.0 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.5.1 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.5.0 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.2.6 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.3.2 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.4.1 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-4.4.0 lib/generators/spree/backend/copy_views/copy_views_generator.rb