Sha256: c7cd5ccd7a4ce09cae3350c402ea9d9a16ff48c7884551b7183066a92ada7796

Contents?: true

Size: 343 Bytes

Versions: 13

Compression:

Stored size: 343 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/', __FILE__)]
      end

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spree_backend-3.4.6 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.6.6 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.6.5 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.6.4 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.6.3 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.6.2 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.6.1 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.6.0 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.5.0 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.6.0.rc1 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.5.0.rc2 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.5.0.rc1 lib/generators/spree/backend/copy_views/copy_views_generator.rb
spree_backend-3.4.5 lib/generators/spree/backend/copy_views/copy_views_generator.rb